aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-11 09:38:50 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-11 09:38:50 +0800
commit45532bcee1317e9ee71e2f848abaab70471dbf0a (patch)
treef953fea32407915a7eafd42fc92d4c1e4edf55e6
parent703e62c58711a5d1efa61cdf8d774144bb2ab146 (diff)
downloadgsoc2013-evolution-45532bcee1317e9ee71e2f848abaab70471dbf0a.tar.gz
gsoc2013-evolution-45532bcee1317e9ee71e2f848abaab70471dbf0a.tar.zst
gsoc2013-evolution-45532bcee1317e9ee71e2f848abaab70471dbf0a.zip
** See bug #67170.
2004-10-08 Not Zed <NotZed@Ximian.com> ** 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
-rw-r--r--camel/ChangeLog8
-rw-r--r--camel/providers/nntp/camel-nntp-store.c6
2 files changed, 11 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 5d38ad5f82..e38ff2daea 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,11 @@
+2004-10-08 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #67170.
+
+ * providers/nntp/camel-nntp-store.c
+ (nntp_store_get_cached_folder_info): compare newsgroup names case
+ sensitively.
+
2004-10-05 Jeffrey Stedfast <fejj@novell.com>
* camel-service.c (camel_getaddrinfo): Check msg->result for error
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';
6b41e7d771d636891e8c1c7baf1'>The JED editor.asami1997-06-045-0/+198 * Upgrade to vim-5.0j betaobrien1997-06-039-183/+9 * Link with force!obrien1997-05-299-18/+276 * Upgrade to 5.0i.obrien1997-05-289-9/+183 * Align all info dir entries in the "emacs" section.asami1997-05-284-14/+14 * If compiling under native ncurses (instead of libcurses), we have topeter1997-05-265-15/+105 * share vim5beta with the world.obrien1997-05-251-1/+2 * Beta version of Vim 5.0.obrien1997-05-2518-0/+525 * Make the mule ports use install-info. Note that our makeinfo can'tasami1997-05-215-16/+259 * Spread info dir entries into all relevant files. The previous versionasami1997-05-2015-85/+825 * Delete directories using @dirrm.asami1997-04-192-0/+8 * Hey guys, thanks for the number of comments on my install-info inquiryasami1997-04-1815-25/+515 * Add starofficemsmith1997-04-111-1/+2 * Immediately update to April 8th version by author's request.asami1997-04-094-8/+8 * Make the emacs/mule ports compile when __FreeBSD__ == 3. Closes PRasami1997-04-096-0/+64 * Update to April 3rd version of patch. Closes PR ports/3204.asami1997-04-096-16/+20 * Back out previous commit; jmz confirmed his /etc/mtree was out of date.asami1997-04-091-4/+1 * Create ${PREFIX}/share/doc/ before installing.jmz1997-04-071-1/+4 * Deactivate scitext port.chuckr1997-04-03