git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@867 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/09/15 17:48:16... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Wed Sep 15 09:47:15 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * clamav-milter: --help now includes --max-children |
|
4 |
+ * libclamav/mbox.c: FOLLOWURL: Small code tidy |
|
5 |
+ |
|
1 | 6 |
Tue Sep 14 21:48:36 BST 2004 (njh) |
2 | 7 |
---------------------------------- |
3 | 8 |
* libclamav/mbox.c: FOLLOWURL: now uses the new normalisation code to |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: mbox.c,v $ |
20 |
+ * Revision 1.120 2004/09/15 08:47:07 nigelhorne |
|
21 |
+ * Cleaner way to initialise hrefs |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.119 2004/09/14 20:47:28 nigelhorne |
21 | 24 |
* Use new normalise code |
22 | 25 |
* |
... | ... |
@@ -345,7 +348,7 @@ |
345 | 345 |
* Compilable under SCO; removed duplicate code with message.c |
346 | 346 |
* |
347 | 347 |
*/ |
348 |
-static char const rcsid[] = "$Id: mbox.c,v 1.119 2004/09/14 20:47:28 nigelhorne Exp $"; |
|
348 |
+static char const rcsid[] = "$Id: mbox.c,v 1.120 2004/09/15 08:47:07 nigelhorne Exp $"; |
|
349 | 349 |
|
350 | 350 |
#if HAVE_CONFIG_H |
351 | 351 |
#include "clamav-config.h" |
... | ... |
@@ -2144,7 +2147,8 @@ checkURLs(message *m, const char *dir) |
2144 | 2144 |
|
2145 | 2145 |
t = tableCreate(); |
2146 | 2146 |
|
2147 |
- memset(&hrefs, '\0', sizeof(hrefs)); |
|
2147 |
+ hrefs.count = 0; |
|
2148 |
+ hrefs.tag = hrefs.value = NULL; |
|
2148 | 2149 |
|
2149 | 2150 |
cli_dbgmsg("checkURLs: calling html_normalise_mem\n"); |
2150 | 2151 |
html_normalise_mem(blobGetData(b), len, NULL, &hrefs); |