Browse code

Bug 693

git-svn: trunk@3471

Nigel Horne authored on 2007/12/30 05:54:06
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sat Dec 29 20:18:40 GMT 2007 (njh)
2
+----------------------------------
3
+  * libclamav/mbox.c:	Bug 693
4
+
1 5
 Sat Dec 29 18:01:35 EET 2007 (edwin)
2 6
 ------------------------------------
3 7
  * libclamav/msexpand.c: fix typo causing build failure with Sun's cc on
... ...
@@ -15,7 +19,7 @@ Sat Dec 29 16:02:47 EET 2007 (edwin)
15 15
 Sat Dec 29 14:41:29 CET 2007 (acab)
16 16
 -----------------------------------
17 17
   * libclamav:	Misc fixes to make gcc 3.4.6 work on solaris
18
-  		(requested by Edwin)
18
+		(requested by Edwin)
19 19
 
20 20
 Sat Dec 29 12:36:36 EET 2007 (edwin)
21 21
 ------------------------------------
... ...
@@ -187,8 +187,7 @@ typedef	unsigned	int	in_addr_t;
187 187
 #define EISCONN	WSAEISCONN
188 188
 #endif
189 189
 
190
-/* Needs HAVE_STRCASSTR test in configure */
191
-#ifndef	C_LINUX
190
+#ifndef HAVE_STRCASESTR
192 191
 #define	strcasestr(h, n)	strstr(h, n)	/* This will cause isBounceMessage() to match too much */
193 192
 #endif
194 193
 
... ...
@@ -1577,7 +1576,7 @@ parseEmailFile(FILE *fin, const table_t *rfc821, const char *firstLine, const ch
1577 1577
 						continue;
1578 1578
 #ifdef	BUGFIX647	/* do not define, it slows it all down */
1579 1579
 					/*
1580
-					 * TODO: will this be a performance hog? 
1580
+					 * TODO: will this be a performance hog?
1581 1581
 					 * Needed to handle (broken?) email headers like:
1582 1582
 					 * Content-
1583 1583
 					 * Transfer-Encoding:quoted-printable