git-svn: trunk@1913
Nigel Horne authored on 2006/04/19 20:33:49... | ... |
@@ -1,3 +1,9 @@ |
1 |
+Wed Apr 19 12:31:44 BST 2006 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/mbox.c: Mark the use of --mail-follow-urls without CURL as |
|
4 |
+ deprecated - it will be completely removed in a future |
|
5 |
+ release |
|
6 |
+ |
|
1 | 7 |
Sat Apr 15 19:55:35 CEST 2006 (tk) |
2 | 8 |
---------------------------------- |
3 | 9 |
* clamconf: initial version of configuration tool |
... | ... |
@@ -41,7 +47,7 @@ Fri Apr 7 21:09:25 CEST 2006 (tk) |
41 | 41 |
Fri Apr 7 12:25:20 BST 2006 (njh) |
42 | 42 |
---------------------------------- |
43 | 43 |
* libclamav/mbox.c: Better handling of messages with lots of |
44 |
- consecutive blank lines |
|
44 |
+ consecutive blank lines |
|
45 | 45 |
|
46 | 46 |
Fri Apr 7 11:13:29 BST 2006 (trog) |
47 | 47 |
----------------------------------- |
... | ... |
@@ -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.288 2006/04/15 10:51:11 nigelhorne Exp $"; |
|
19 |
+static char const rcsid[] = "$Id: mbox.c,v 1.289 2006/04/19 11:33:49 nigelhorne Exp $"; |
|
20 | 20 |
|
21 | 21 |
#if HAVE_CONFIG_H |
22 | 22 |
#include "clamav-config.h" |
... | ... |
@@ -149,6 +149,9 @@ typedef enum { FALSE = 0, TRUE = 1 } bool; |
149 | 149 |
#undef WITH_CURL /* also undef FOLLOWURLS? */ |
150 | 150 |
#endif |
151 | 151 |
|
152 |
+#else |
|
153 |
+#error "FOLLOWURLS without CURL is no longer supported" |
|
154 |
+ |
|
152 | 155 |
#endif /*WITH_CURL*/ |
153 | 156 |
|
154 | 157 |
#else /*!FOLLOWURLS*/ |
... | ... |
@@ -3904,7 +3907,8 @@ checkURLs(message *m, const char *dir) |
3904 | 3904 |
getURL(&arg); |
3905 | 3905 |
#endif |
3906 | 3906 |
|
3907 |
-#else |
|
3907 |
+#else /*!WITH_CURL*/ |
|
3908 |
+ cli_warnmsg("The use of mail-follow-urls without CURL being installed is deprecated\n"); |
|
3908 | 3909 |
/* |
3909 | 3910 |
* TODO: maximum size and timeouts |
3910 | 3911 |
*/ |