diff options
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); } |