git-svn: trunk@4889
aCaB authored on 2009/03/03 11:39:03... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Tue Mar 3 03:26:08 CET 2009 (acab) |
|
2 |
+----------------------------------- |
|
3 |
+ * clamav-milter/clamav-milter.c: Fix syslog ident typo and include wrapage. |
|
4 |
+ Reported by Jakub Jankowski <shasta * toxcorp.com> |
|
5 |
+ |
|
1 | 6 |
Mon Mar 2 22:38:05 EET 2009 (edwin) |
2 | 7 |
------------------------------------ |
3 | 8 |
* configure, configure.in: fix previous commit |
... | ... |
@@ -29,6 +29,9 @@ |
29 | 29 |
#include <grp.h> |
30 | 30 |
#include <string.h> |
31 | 31 |
#include <syslog.h> |
32 |
+#ifdef USE_SYSLOG |
|
33 |
+#include <syslog.h> |
|
34 |
+#endif |
|
32 | 35 |
#include <time.h> |
33 | 36 |
#include <libmilter/mfapi.h> |
34 | 37 |
|
... | ... |
@@ -188,7 +191,7 @@ int main(int argc, char **argv) { |
188 | 188 |
return 1; |
189 | 189 |
} |
190 | 190 |
|
191 |
- openlog("clamd", LOG_PID, fac); |
|
191 |
+ openlog("clamav-milter", LOG_PID, fac); |
|
192 | 192 |
logg_syslog = 1; |
193 | 193 |
} |
194 | 194 |
#endif |