From dd22bd3f22b967646d5d93ad5fdfb6793aede45c Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 16 Jan 2002 22:23:26 +0000 Subject: [PATCH] remove tilde backup files for distclean fixed indentation added full name to AUTHORS reformated NEWS blurb for 0.8 --- AUTHORS | 2 +- Makefile.am | 1 + NEWS | 12 +++++++----- sync.c | 8 ++++---- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/AUTHORS b/AUTHORS index 8d975c4..0735ac0 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1 @@ -Michael R. Elkins +Michael Elkins diff --git a/Makefile.am b/Makefile.am index c73a9c4..8f3a308 100644 --- 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 index 521c21f..4ee4bd9 100644 --- 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 index 6120311..4e71287 100644 --- 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); } } }