Browse code

Up issued

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@640 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2004/06/29 17:28:13
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Jun 29 09:27:42 BST 2004 (njh)
2
+----------------------------------
3
+  * clamav-milter:	Up-issued
4
+
1 5
 Mon Jun 28 12:46:18 BST 2004 (njh)
2 6
 ----------------------------------
3 7
   * libclamav/mbox.c:	Optimise the scanning of empty sections of e-mails
... ...
@@ -415,6 +415,7 @@ Changes
415 415
 		Remove warning message on FreeBSD5.2
416 416
 0.73d	28/6/04	Don't error when creating the quarantine directory if it
417 417
 			already exists
418
+0.80	29/6/04	Up-issued
418 419
 
419 420
 BUG REPORTS
420 421
 
... ...
@@ -26,6 +26,9 @@
26 26
  *
27 27
  * Change History:
28 28
  * $Log: clamav-milter.c,v $
29
+ * Revision 1.100  2004/06/29 08:27:02  nigelhorne
30
+ * Up issued
31
+ *
29 32
  * Revision 1.99  2004/06/28 08:30:18  nigelhorne
30 33
  * Don't error when creating the quarantine directory if it already exists
31 34
  *
... ...
@@ -308,9 +311,9 @@
308 308
  * Revision 1.6  2003/09/28 16:37:23  nigelhorne
309 309
  * Added -f flag use MaxThreads if --max-children not set
310 310
  */
311
-static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.99 2004/06/28 08:30:18 nigelhorne Exp $";
311
+static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.100 2004/06/29 08:27:02 nigelhorne Exp $";
312 312
 
313
-#define	CM_VERSION	"0.73d"
313
+#define	CM_VERSION	"0.80"
314 314
 
315 315
 /*#define	CONFDIR	"/usr/local/etc"*/
316 316
 
... ...
@@ -323,6 +326,7 @@ static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.99 2004/06/28 08:30:18 nig
323 323
 #include "../target.h"
324 324
 #include "str.h"
325 325
 #include "../libclamav/others.h"
326
+#include "../libclamav/strrcpy.h"
326 327
 #include "clamav.h"
327 328
 
328 329
 #ifndef	CL_DEBUG
... ...
@@ -447,7 +451,6 @@ static	sfsistat	clamfi_close(SMFICTX *ctx);
447 447
 static	void		clamfi_cleanup(SMFICTX *ctx);
448 448
 static	void		clamfi_free(struct privdata *privdata);
449 449
 static	int		clamfi_send(struct privdata *privdata, size_t len, const char *format, ...);
450
-static	char		*strrcpy(char *dest, const char *source);
451 450
 static	int		clamd_recv(int sock, char *buf, size_t len);
452 451
 static	off_t		updateSigFile(void);
453 452
 static	header_list_t	header_list_new(void);
... ...
@@ -2475,6 +2478,7 @@ clamfi_send(struct privdata *privdata, size_t len, const char *format, ...)
2475 2475
  * Like strcpy, but return the END of the destination, allowing a quicker
2476 2476
  * means of adding to the end of a string than strcat
2477 2477
  */
2478
+#if	0
2478 2479
 static char *
2479 2480
 strrcpy(char *dest, const char *source)
2480 2481
 {
... ...
@@ -2487,6 +2491,7 @@ strrcpy(char *dest, const char *source)
2487 2487
 		;
2488 2488
 	return(--dest);
2489 2489
 }
2490
+#endif
2490 2491
 
2491 2492
 /*
2492 2493
  * Read from clamav - timeout if necessary