Browse code

Fix compilation error when --experimental is not given

git-svn: trunk@2328

Nigel Horne authored on 2006/09/28 16:33:35
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Thu Sep 28 08:32:45 BST 2006 (njh)
2
+----------------------------------
3
+  * libclamav/mbox.c:	Fix compilation error when --experimental is not
4
+				given
5
+
1 6
 Wed Sep 27 22:30:41 BST 2006 (njh)
2 7
 ----------------------------------
3 8
   * clamav-milter:	--report would cause phishes to pass through tagged
... ...
@@ -5,7 +10,7 @@ Wed Sep 27 22:30:41 BST 2006 (njh)
5 5
 Wed Sep 27 20:24:26 BST 2006 (njh)
6 6
 ----------------------------------
7 7
   * libclamav/mbox.c:	CL_EXPERIMENTAL: No longer uses curl, or falls back to
8
-  				external programs when curl isn't installed
8
+				external programs when curl isn't installed
9 9
 
10 10
 Wed Sep 27 20:15:20 BST 2006 (njh)
11 11
 ----------------------------------
... ...
@@ -16,7 +16,7 @@
16 16
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 17
  *  MA 02110-1301, USA.
18 18
  */
19
-static	char	const	rcsid[] = "$Id: mbox.c,v 1.347 2006/09/27 19:23:44 njh Exp $";
19
+static	char	const	rcsid[] = "$Id: mbox.c,v 1.348 2006/09/28 07:32:14 njh Exp $";
20 20
 
21 21
 #ifdef	_MSC_VER
22 22
 #include <winsock.h>	/* only needed in CL_EXPERIMENTAL */
... ...
@@ -294,7 +294,7 @@ static	blob*	getHrefs(message* m,tag_arguments_t* hrefs);
294 294
 static	void	hrefs_done(blob *b,tag_arguments_t* hrefs);
295 295
 #endif
296 296
 
297
-#if	defined(CL_EXPERIMENTAL) || (!defined(WITH_CURL))
297
+#if	defined(FOLLOWURLS) && (FOLLOWURLS > 0)
298 298
 struct arg {
299 299
 #ifdef	CL_EXPERIMENTAL
300 300
 	char *url;