sync with 0.9.10cvs11
[claws.git] / src / common / nntp.c
index 6bcc83ecaea3b7f3f4ecc1b3d583643991b76ab1..991feb6c769f041374ec5a6c1dd48fbd01065118 100644 (file)
@@ -193,9 +193,9 @@ gint nntp_get_article(NNTPSession *session, const gchar *cmd, gint num,
        extract_parenthesis(buf, '<', '>');
        if (buf[0] == '\0') {
                log_warning(_("protocol error\n"));
-               return NN_PROTOCOL;
-       }
-       *msgid = g_strdup(buf);
+               *msgid = g_strdup("0");
+       } else
+               *msgid = g_strdup(buf);
 
        return NN_SUCCESS;
 }