OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c versions 1.40 and 1.41
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c 1.40 -> 1.41

--- lmtp2nntp_msg.c      2003/02/12 15:24:18     1.40
+++ lmtp2nntp_msg.c      2004/04/02 10:38:13     1.41
@@ -243,7 +243,7 @@
     size_t       asNewheaders;
 
     logbook(msg->l2, L2_LEVEL_DEBUG, "verify Newsgroups");
-    if (msg->azNewsgroups == NULL)
+    if ((msg->azNewsgroups == NULL) || (msg->asNewsgroups == 0))
         return MSG_ERR_JOINGROUPNONE;
     argz_stringify(msg->azNewsgroups, msg->asNewsgroups, ',');
     if (strlen(msg->azNewsgroups) == 0)

CVSTrac 2.0.1