Browse code

Removed warnings added by new configuration script

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

Nigel Horne authored on 2004/02/20 18:52:34
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Fri Feb 20 09:55:58 GMT 2004 (njh)
2
+----------------------------------
3
+  * clamav-milter: The recent changes to the configure script changed
4
+	the order of includes so some prototypes weren't getting in
5
+
1 6
 Thu Feb 19 16:03:59 GMT 2004 (trog)
2 7
 -----------------------------------
3 8
   * libclamav/vba_extract.c: tidy up error handling
... ...
@@ -135,7 +135,7 @@
135 135
  *	0.60b	17/8/03	Optionally set postmaster address. Usually one uses
136 136
  *			/etc/aliases, but not everyone want's to...
137 137
  *	0.60c	22/8/03	Another go at Solaris support
138
- *	0.60d	26/8/03	Removed superflous buffer and unneeded strerror call
138
+ *	0.60d	26/8/03	Removed superfluous buffer and unneeded strerror call
139 139
  *			ETIMEDOUT isn't an error, but should give a warning
140 140
  *	0.60e	09/9/03	Added -P and -q flags by "Nicholas M. Kirsch"
141 141
  *			<nick@kirsch.org>
... ...
@@ -235,9 +235,16 @@
235 235
  *	0.67d	19/2/04	Reworked TCPwrappers code
236 236
  *			Thanks to "Hector M. Rulot Segovia" <Hector.Rulot@uv.es>
237 237
  *			Changed some printf/puts to cli_dbgmsg
238
+ *	0.67e	20/2/04	Moved the definition of the sendmail pipe
239
+ *			The recent changes to the configure script changed
240
+ *			the order of includes sosome prototypes weren't
241
+ *			getting in
238 242
  *
239 243
  * Change History:
240 244
  * $Log: clamav-milter.c,v $
245
+ * Revision 1.51  2004/02/20 09:50:42  nigelhorne
246
+ * Removed warnings added by new configuration script
247
+ *
241 248
  * Revision 1.50  2004/02/19 10:00:26  nigelhorne
242 249
  * Rework TCPWrappers support
243 250
  *
... ...
@@ -373,9 +380,9 @@
373 373
  * Revision 1.6  2003/09/28 16:37:23  nigelhorne
374 374
  * Added -f flag use MaxThreads if --max-children not set
375 375
  */
376
-static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.50 2004/02/19 10:00:26 nigelhorne Exp $";
376
+static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.51 2004/02/20 09:50:42 nigelhorne Exp $";
377 377
 
378
-#define	CM_VERSION	"0.67d"
378
+#define	CM_VERSION	"0.67e"
379 379
 
380 380
 /*#define	CONFDIR	"/usr/local/etc"*/
381 381
 
... ...
@@ -387,7 +394,8 @@ static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.50 2004/02/19 10:00:26 nig
387 387
 #include "cfgfile.h"
388 388
 #include "../target.h"
389 389
 #include "str.h"
390
-#include "others.h"
390
+#include "../libclamav/others.h"
391
+#include "clamav.h"
391 392
 
392 393
 #ifndef	CL_DEBUG
393 394
 #define	NDEBUG
... ...
@@ -1945,7 +1953,6 @@ clamfi_eom(SMFICTX *ctx)
1945 1945
 	} else {
1946 1946
 		int i;
1947 1947
 		char **to, *err;
1948
-		FILE *sendmail;
1949 1948
 
1950 1949
 		if(use_syslog)
1951 1950
 			syslog(LOG_NOTICE, mess);
... ...
@@ -1992,6 +1999,7 @@ clamfi_eom(SMFICTX *ctx)
1992 1992
 
1993 1993
 		if(!qflag) {
1994 1994
 			char cmd[128];
1995
+			FILE *sendmail;
1995 1996
 
1996 1997
 			snprintf(cmd, sizeof(cmd), "%s -t", SENDMAIL_BIN);
1997 1998