git-svn: trunk@3009
Nigel Horne authored on 2007/04/07 02:59:41... | ... |
@@ -33,7 +33,7 @@ |
33 | 33 |
*/ |
34 | 34 |
static char const rcsid[] = "$Id: clamav-milter.c,v 1.312 2007/02/12 22:24:21 njh Exp $"; |
35 | 35 |
|
36 |
-#define CM_VERSION "devel-070330" |
|
36 |
+#define CM_VERSION "devel-070406" |
|
37 | 37 |
|
38 | 38 |
#if HAVE_CONFIG_H |
39 | 39 |
#include "clamav-config.h" |
... | ... |
@@ -1843,7 +1843,7 @@ main(int argc, char **argv) |
1843 | 1843 |
free(p); |
1844 | 1844 |
|
1845 | 1845 |
if((fd = fopen(pidfile, "w")) == NULL) { |
1846 |
- logg(_("!Can't save PID in file %s"), pidfile); |
|
1846 |
+ logg(_("!Can't save PID in file %s\n"), pidfile); |
|
1847 | 1847 |
return EX_CONFIG; |
1848 | 1848 |
} |
1849 | 1849 |
#ifdef C_LINUX |
... | ... |
@@ -4934,8 +4934,8 @@ isLocal(const char *addr) |
4934 | 4934 |
for(j = 0; match && j < pnet6->preflen >> 3; j++) |
4935 | 4935 |
if(pnet6->base.s6_addr[j] != ip6.s6_addr[j]) |
4936 | 4936 |
match = 0; |
4937 |
- if(match && j < 16) { |
|
4938 |
- u_int8_t mask = 0xff << (8 - (pnet6->preflen & 7)); |
|
4937 |
+ if(match && (j < 16)) { |
|
4938 |
+ uint8_t mask = 0xff << (8 - (pnet6->preflen & 7)); |
|
4939 | 4939 |
|
4940 | 4940 |
if((pnet6->base.s6_addr[j] & mask) != (ip6.s6_addr[j] & mask)) |
4941 | 4941 |
match = 0; |
... | ... |
@@ -5287,7 +5287,7 @@ quit(void) |
5287 | 5287 |
#ifdef SESSION |
5288 | 5288 |
pthread_mutex_lock(&version_mutex); |
5289 | 5289 |
#endif |
5290 |
- logg(_("Stopping %s"), clamav_version); |
|
5290 |
+ logg(_("Stopping %s\n"), clamav_version); |
|
5291 | 5291 |
#ifdef SESSION |
5292 | 5292 |
pthread_mutex_unlock(&version_mutex); |
5293 | 5293 |
#endif |