diff options
Diffstat (limited to 'camel/providers/nntp/camel-nntp-folder.c')
-rw-r--r-- | camel/providers/nntp/camel-nntp-folder.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |