aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-20 10:30:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-20 10:30:46 +0800
commitfbf393aa0f5b44a283932f15bbe4d35452a77422 (patch)
tree608fe762276724eeb70086aefd0db0137760f139 /camel
parentbed95fa9e2b1cfa7e019e1824dc9bdb08fb1755a (diff)
downloadgsoc2013-evolution-fbf393aa0f5b44a283932f15bbe4d35452a77422.tar
gsoc2013-evolution-fbf393aa0f5b44a283932f15bbe4d35452a77422.tar.gz
gsoc2013-evolution-fbf393aa0f5b44a283932f15bbe4d35452a77422.tar.bz2
gsoc2013-evolution-fbf393aa0f5b44a283932f15bbe4d35452a77422.tar.lz
gsoc2013-evolution-fbf393aa0f5b44a283932f15bbe4d35452a77422.tar.xz
gsoc2013-evolution-fbf393aa0f5b44a283932f15bbe4d35452a77422.tar.zst
gsoc2013-evolution-fbf393aa0f5b44a283932f15bbe4d35452a77422.zip
oops, poke the right uid to get the article number.
2004-05-20 Not Zed <NotZed@Ximian.com> * providers/nntp/camel-nntp-folder.c (nntp_folder_get_message): oops, poke the right uid to get the article number. (nntp_folder_cache_message): & here too. Somehow fixes #58700, but i don't know why. svn path=/trunk/; revision=26004
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/nntp/camel-nntp-folder.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 56d534f288..2b55f9689e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+2004-05-20 Not Zed <NotZed@Ximian.com>
+
+ * providers/nntp/camel-nntp-folder.c (nntp_folder_get_message):
+ oops, poke the right uid to get the article number.
+ (nntp_folder_cache_message): & here too. Somehow fixes #58700,
+ but i don't know why.
+
2004-05-19 Not Zed <NotZed@Ximian.com>
* camel-folder.c (transfer_message_to): copy the messageinfo
diff --git a/camel/providers/nntp/camel-nntp-folder.c b/camel/providers/nntp/camel-nntp-folder.c
index 3c8b248a7b..411cc346b5 100644
--- a/camel/providers/nntp/camel-nntp-folder.c
+++ b/camel/providers/nntp/camel-nntp-folder.c
@@ -182,7 +182,7 @@ nntp_folder_cache_message (CamelDiscoFolder *disco_folder, const char *uid, Came
article = alloca(strlen(uid)+1);
strcpy(article, uid);
- msgid = strchr(uid, ',');
+ msgid = strchr(article, ',');
if (!msgid) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
_("Internal error: uid in invalid format: %s"), uid);
@@ -222,7 +222,7 @@ nntp_folder_get_message (CamelFolder *folder, const char *uid, CamelException *e
article = alloca(strlen(uid)+1);
strcpy(article, uid);
- msgid = strchr (uid, ',');
+ msgid = strchr (article, ',');
if (msgid == NULL) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
_("Internal error: uid in invalid format: %s"), uid);