From 813618f041d818986ec9a3d1ee0e6ca801b3087b Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Thu, 21 Dec 2000 00:35:26 +0000 Subject: [PATCH] config options were not case insensitive --- ChangeLog | 16 ++++++++++++++++ configure.in | 2 +- main.c | 14 +++++++------- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 96d48d9..ddfa2f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,21 @@ +2000-12-21 Michael Elkins + + * imap.c, isync.h, maildir.c, main.c, sync.c: + don't fetch deleted messages when expunging + + display number of messages that are to be deleted + + flags for \Recent messages were not properly fetched + + local messages with updated flags were not corrected renamed + 2000-12-20 Michael Elkins + * ChangeLog, Makefile.am: + updated ChangeLog + + added log: rule in Makefile.am + * configure: forgot to remove configure script * INSTALL, Makefile.in, aclocal.m4, autogen.sh, install-sh, missing, mkinstalldirs: diff --git a/configure.in b/configure.in index fbf0810..9587290 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ AC_INIT(isync.h) -AM_INIT_AUTOMAKE(isync,0.1) +AM_INIT_AUTOMAKE(isync,0.2) AM_PROG_CC_STDC if test $CC = gcc; then CFLAGS="$CFLAGS -pipe" diff --git a/main.c b/main.c index 42f6bb1..fc27aec 100644 --- a/main.c +++ b/main.c @@ -147,49 +147,49 @@ load_config (char *where) p++; while (isspace (*p)) p++; - if (!strncmp ("mailbox", buf, 7)) + if (!strncasecmp ("mailbox", buf, 7)) { if (*cur) cur = &(*cur)->next; *cur = calloc (1, sizeof (config_t)); (*cur)->path = strdup (p); } - else if (!strncmp ("host", buf, 4)) + else if (!strncasecmp ("host", buf, 4)) { if (*cur) (*cur)->host = strdup (p); else global.host = strdup (p); } - else if (!strncmp ("user", buf, 4)) + else if (!strncasecmp ("user", buf, 4)) { if (*cur) (*cur)->user = strdup (p); else global.user = strdup (p); } - else if (!strncmp ("pass", buf, 4)) + else if (!strncasecmp ("pass", buf, 4)) { if (*cur) (*cur)->pass = strdup (p); else global.pass = strdup (p); } - else if (!strncmp ("port", buf, 4)) + else if (!strncasecmp ("port", buf, 4)) { if (*cur) (*cur)->port = atoi (p); else global.port = atoi (p); } - else if (!strncmp ("box", buf, 3)) + else if (!strncasecmp ("box", buf, 3)) { if (*cur) (*cur)->box = strdup (p); else global.box = strdup (p); } - else if (!strncmp ("alias", buf, 5)) + else if (!strncasecmp ("alias", buf, 5)) { if (*cur) (*cur)->alias = strdup (p);