isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit dd22bd3f22b967646d5d93ad5fdfb6793aede45c
parent 2f2b123d716e6749b0e3e263a67280152944b026
Author: Michael Elkins <me@mutt.org>
Date:   Wed, 16 Jan 2002 22:23:26 +0000

remove tilde backup files for distclean

fixed indentation

added full name to AUTHORS

reformated NEWS blurb for 0.8

Diffstat:
MAUTHORS | 2+-
MMakefile.am | 1+
MNEWS | 12+++++++-----
Msync.c | 8++++----
4 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/AUTHORS b/AUTHORS @@ -1 +1 @@ -Michael R. Elkins <me@mutt.org> +Michael Elkins <me@mutt.org> diff --git a/Makefile.am b/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 diff --git a/NEWS b/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] diff --git a/sync.c b/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); } } }