OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.24 -> 1.25

--- lmtp2nntp.c  2001/08/23 07:55:53     1.24
+++ lmtp2nntp.c  2001/08/23 08:30:41     1.25
@@ -688,7 +688,7 @@
      *  RFC1893 3.5 Network and Routing Status          X.5.4   Invalid command arguments
      */
     if (!str_parse(req->msg, "m/^MAIL From:\\s*<(.+@.+)>"
-                             "(?:\\s+BODY=(?:7BIT|8BITMIME)\\s*){0,1}$/i", 
+                             "(?:\\s+BODY=(?:7BIT|8BITMIME)\\s*)?$/i", 
                              &ctx->msg->mail_from)) {
         res.statuscode = "501";
         res.dsncode    = "5.5.4";

CVSTrac 2.0.1