Explorar el Código

remove tilde backup files for distclean

fixed indentation

added full name to AUTHORS

reformated NEWS blurb for 0.8
Michael Elkins hace 23 años
padre
commit
dd22bd3f22
Se han modificado 4 ficheros con 13 adiciones y 10 borrados
  1. 1 1
      AUTHORS
  2. 1 0
      Makefile.am
  3. 7 5
      NEWS
  4. 4 4
      sync.c

+ 1 - 1
AUTHORS

@@ -1 +1 @@
-Michael R. Elkins <me@mutt.org>
+Michael Elkins <me@mutt.org>

+ 1 - 0
Makefile.am

@@ -8,6 +8,7 @@ EXTRA_isync_SOURCES=debug.c
 man_MANS=isync.1
 EXTRA_DIST=sample.isyncrc $(man_MANS)
 INCLUDES=$(RPM_OPT_FLAGS)
+DISTCLEANFILES=*~
 
 log:
 	rcs2log -h sigpipe.org | sed 's;/home/cvs/isync/;;g' > ChangeLog

+ 7 - 5
NEWS

@@ -1,10 +1,12 @@
 [0.8]
 
-IMPORTANT: In order to fix the problem where messages copied from one mailbox
-to another were not uploaded to the new mailbox, the way Isync stores the UID
-for each message needed to be changed.  As a result, you MUST delete all the
-messages in the local maildir box before using this version.  Otherwise it
-will upload every message to the server thinking its a new mail.
+!!! IMPORTANT !!!
+
+In order to fix the problem where messages copied from one mailbox to
+another were not uploaded to the new mailbox, the way Isync stores the UID
+for each message needed to be changed.  As a result, you _MUST_ delete all
+the messages in the local maildir box before using this version.  Otherwise
+it will upload every message to the server thinking its a new mail.
 
 [0.7]
 

+ 4 - 4
sync.c

@@ -226,10 +226,10 @@ sync_mailbox (mailbox_t * mbox, imap_t * imap, int flags,
 	    }
 	    else
 	    {
-		    /* update the filename in the msg struct */
-		    p=strrchr(newpath,'/');
-		    free(cur->file);
-		    cur->file=strdup(p+1);
+		/* update the filename in the msg struct */
+		p = strrchr (newpath, '/');
+		free (cur->file);
+		cur->file = strdup (p + 1);
 	    }
 	}
     }