Update of /cvsroot/mahogany/M/src/modules
In directory usw-pr-cvs1:/tmp/cvs-serv18831/src/modules

Modified Files:
        Filters.cpp 
Log Message:
removed incorrect assert

Index: Filters.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/Filters.cpp,v
retrieving revision 1.133
retrieving revision 1.134
diff -b -u -2 -r1.133 -r1.134
--- Filters.cpp 12 Sep 2002 02:36:51 -0000      1.133
+++ Filters.cpp 17 Sep 2002 10:32:38 -0000      1.134
@@ -2046,14 +2046,12 @@
    // normally the only one which the spammer directly controls
    pc = strstr(pc + FROM_UNKNOWN_LEN, "\r\n");
-   if ( !pc )
+   if ( pc )
    {
-      // the header must always be "\r\n" terminated anyhow!
-      FAIL_MSG( _T("no \"\\r\\n\" at the end of header?") );
-
-      return false;
+      // skip the line end
+      pc += 2;
    }
 
    // and there shouldn't be any more lines after this one
-   return !pc[2];
+   return *pc == '\0';
 }
 



-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to