diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-14 00:09:25 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-14 00:09:25 +0800 |
commit | 50190de627488d8568299910f297e107576c1b30 (patch) | |
tree | a4345846bd0a47df9089d3bda8c06ddfcc072f1b /camel | |
parent | 0d66044bc4040da1852f1aea30e4e0fffb3ad0c5 (diff) | |
download | gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.gz gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.bz2 gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.lz gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.xz gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.tar.zst gsoc2013-evolution-50190de627488d8568299910f297e107576c1b30.zip |
do a strcasecmp rather than just a strcmp when checking if a folder is
* providers/imap/camel-imap-folder.c
(imap_get_subfolder_names_internal): do a strcasecmp rather than
just a strcmp when checking if a folder is "INBOX", since it is
a case-insensitive name.
svn path=/trunk/; revision=4801
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 7 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index b0d76ac490..f64615884f 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,10 @@ +2000-08-13 Dan Winship <danw@helixcode.com> + + * providers/imap/camel-imap-folder.c + (imap_get_subfolder_names_internal): do a strcasecmp rather than + just a strcmp when checking if a folder is "INBOX", since it is + a case-insensitive name. + 2000-08-12 Dan Winship <danw@helixcode.com> * providers/imap/camel-imap-folder.c (imap_get_summary_internal): diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index a836ecafcb..a0735313f2 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -802,7 +802,7 @@ imap_get_subfolder_names_internal (CamelFolder *folder, CamelException *ex) if (*dir) { d(fprintf (stderr, "adding folder: %s\n", dir)); - if (!strcmp (dir, "INBOX")) + if (!g_strcasecmp (dir, "INBOX")) found_inbox = TRUE; g_ptr_array_add (listing, dir); } |