git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@705 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/07/30 00:27:59... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Thu Jul 29 16:27:01 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * clamav-milter: Don't say "waiting for some to exit" if dont_wait is set |
|
4 |
+ |
|
1 | 5 |
Thu Jul 29 07:38:42 BST 2004 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* clamav-milter: Use GETHOSTBYNAME_R_6 |
... | ... |
@@ -447,6 +447,7 @@ Changes |
447 | 447 |
0.75b 26/7/04 Template file: %v now prints the virus name without the trailer |
448 | 448 |
0.75c 29/7/04 Better load balancing if max_children = 0 |
449 | 449 |
Use HAVE_GETHOSTBYNAME_R_6 |
450 |
+0.75d 29/7/04 Don't say "waiting for some to exit" if --dont-wait |
|
450 | 451 |
|
451 | 452 |
BUG REPORTS |
452 | 453 |
|
... | ... |
@@ -26,6 +26,9 @@ |
26 | 26 |
* |
27 | 27 |
* Change History: |
28 | 28 |
* $Log: clamav-milter.c,v $ |
29 |
+ * Revision 1.112 2004/07/29 15:24:47 nigelhorne |
|
30 |
+ * Don't say waiting for some to exit if dont_wait is set |
|
31 |
+ * |
|
29 | 32 |
* Revision 1.111 2004/07/29 06:38:05 nigelhorne |
30 | 33 |
* GETHOSTBYNAME_R_6 |
31 | 34 |
* |
... | ... |
@@ -344,9 +347,9 @@ |
344 | 344 |
* Revision 1.6 2003/09/28 16:37:23 nigelhorne |
345 | 345 |
* Added -f flag use MaxThreads if --max-children not set |
346 | 346 |
*/ |
347 |
-static char const rcsid[] = "$Id: clamav-milter.c,v 1.111 2004/07/29 06:38:05 nigelhorne Exp $"; |
|
347 |
+static char const rcsid[] = "$Id: clamav-milter.c,v 1.112 2004/07/29 15:24:47 nigelhorne Exp $"; |
|
348 | 348 |
|
349 |
-#define CM_VERSION "0.75c" |
|
349 |
+#define CM_VERSION "0.75d" |
|
350 | 350 |
|
351 | 351 |
/*#define CONFDIR "/usr/local/etc"*/ |
352 | 352 |
|
... | ... |
@@ -1683,7 +1686,9 @@ clamfi_envfrom(SMFICTX *ctx, char **argv) |
1683 | 1683 |
|
1684 | 1684 |
if(use_syslog) |
1685 | 1685 |
syslog(LOG_NOTICE, |
1686 |
- "hit max-children limit (%u >= %u): waiting for some to exit", |
|
1686 |
+ ((dont_wait) ? |
|
1687 |
+ "hit max-children limit (%u >= %u)" : |
|
1688 |
+ "hit max-children limit (%u >= %u): waiting for some to exit"), |
|
1687 | 1689 |
n_children, max_children); |
1688 | 1690 |
|
1689 | 1691 |
if(dont_wait) { |