Update of /cvsroot/mahogany/M/lib/dspam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13523
Modified Files:
decode.c
Log Message:
cosmetic fixes only
Index: decode.c
===================================================================
RCS file: /cvsroot/mahogany/M/lib/dspam/decode.c,v
retrieving revision 1.1.3.1
retrieving revision 1.2
diff -b -u -2 -r1.1.3.1 -r1.2
--- decode.c 7 Jul 2004 23:27:23 -0000 1.1.3.1
+++ decode.c 7 Jul 2004 23:39:20 -0000 1.2
@@ -110,6 +110,7 @@
#ifdef BROKEN_MTA
- if (line[strlen(line)-1]==13)
- line[strlen(line)-1] = 0;
+ size_t len = strlen(line)-1;
+ if (line[len]==13)
+ line[len] = 0;
#endif
@@ -199,5 +200,5 @@
/* If this is a message/rfc822, look for a boundary in the header */
-/* if (current_block->media_type == MT_MESSAGE) { */
+/* if (current_block->media_type == MT_MESSAGE) */
{
/* Check for multipart boundary definition */
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates