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

Modified Files:
        Filters.cpp 
Log Message:
Windows compilation fixes

Index: Filters.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/Filters.cpp,v
retrieving revision 1.113
retrieving revision 1.114
diff -b -u -2 -r1.113 -r1.114
--- Filters.cpp 18 Jun 2002 18:46:44 -0000      1.113
+++ Filters.cpp 18 Jun 2002 22:04:25 -0000      1.114
@@ -1876,7 +1876,7 @@
    if ( msg )
    {
-#ifdef USE_RBL
       String value;
 
+#ifdef USE_RBL
       msg->GetHeaderLine("Received", value);
 
@@ -2050,7 +2050,8 @@
    size_t num8bit = 0,
           max8bit = subject.length() / 2;
-   for ( const unsigned char *p = (unsigned char *)subject.c_str(); *p; p++ )
+   for ( const unsigned char *pc = (const unsigned char *)subject.c_str();
+         *pc; pc++ )
    {
-      if ( *p > 127 || *p == '?' || *p == '!' )
+      if ( *pc > 127 || *pc == '?' || *pc == '!' )
       {
          if ( num8bit++ == max8bit )


----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to