Revision: 7188
          http://svn.sourceforge.net/mahogany/?rev=7188&view=rev
Author:   vadz
Date:     2006-12-25 10:39:58 -0800 (Mon, 25 Dec 2006)

Log Message:
-----------
real fix for assert in VC CRT isspace()

Modified Paths:
--------------
    trunk/M/lib/dspam/src/decode.c

Modified: trunk/M/lib/dspam/src/decode.c
===================================================================
--- trunk/M/lib/dspam/src/decode.c      2006-12-25 15:57:34 UTC (rev 7187)
+++ trunk/M/lib/dspam/src/decode.c      2006-12-25 18:39:58 UTC (rev 7188)
@@ -148,7 +148,7 @@
           }
 
           /* Our concatenated data doesn't have any whitespace between lines */
-          for ( eow = line; *eow && *eow < 255 && isspace(*eow); eow++ )
+          for ( eow = line; *eow && isspace((unsigned char)*eow); eow++ )
             ;
 
           ptr =
@@ -1096,7 +1096,7 @@
         return EFAILURE;
       }
       ptr++;
-      while(*ptr < 255 && isspace(*ptr))
+      while(isspace((unsigned char)*ptr))
         ptr++;
       if (ptr[0] == '"')
         ptr++;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to