From 45532bcee1317e9ee71e2f848abaab70471dbf0a Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 11 Oct 2004 01:38:50 +0000 Subject: ** See bug #67170. 2004-10-08 Not Zed ** See bug #67170. * providers/nntp/camel-nntp-store.c (nntp_store_get_cached_folder_info): compare newsgroup names case sensitively. svn path=/trunk/; revision=27528 --- camel/providers/nntp/camel-nntp-store.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c index 718f9589fe..1d4f43cc52 100644 --- a/camel/providers/nntp/camel-nntp-store.c +++ b/camel/providers/nntp/camel-nntp-store.c @@ -641,8 +641,8 @@ nntp_store_get_cached_folder_info (CamelNNTPStore *store, const char *orig_top, int toplen = strlen(top); for (i = 0; (si = camel_store_summary_index ((CamelStoreSummary *) store->summary, i)); i++) { - if ((subscribed_or_flag || (si->flags & CAMEL_STORE_INFO_FOLDER_SUBSCRIBED)) && - (root_or_flag || g_ascii_strncasecmp (si->path, top, toplen) == 0)) { + if ((subscribed_or_flag || (si->flags & CAMEL_STORE_INFO_FOLDER_SUBSCRIBED)) + && (root_or_flag || strncmp (si->path, top, toplen) == 0)) { if (recursive_flag || strchr (si->path + toplen, '.') == NULL) { /* add the item */ fi = nntp_folder_info_from_store_info(store, FALSE, si); @@ -657,7 +657,7 @@ nntp_store_get_cached_folder_info (CamelNNTPStore *store, const char *orig_top, the item we added last, we need to add a portion of this item to the list as a placeholder */ if (!last || - g_ascii_strncasecmp(si->path, last->full_name, strlen(last->full_name)) != 0 || + strncmp(si->path, last->full_name, strlen(last->full_name)) != 0 || si->path[strlen(last->full_name)] != '.') { tmpname = g_strdup(si->path); *(strchr(tmpname + toplen, '.')) = '\0'; -- cgit v1.2.3