aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/log.c
diff options
context:
space:
mode:
authorCharles Longeau <github@chl.be>2013-05-02 15:42:06 +0200
committerCharles Longeau <github@chl.be>2013-05-02 15:42:06 +0200
commit2dbc95e56655d87e56743ecb4ccefee4b23935ff (patch)
tree06449ea8735b952e37e8e6de2280a3f3a8ff0bff /smtpd/log.c
parentadd missing backends & filters Makefile.am, reported by eric@ :) (diff)
downloadOpenSMTPD-2dbc95e56655d87e56743ecb4ccefee4b23935ff.tar.xz
OpenSMTPD-2dbc95e56655d87e56743ecb4ccefee4b23935ff.zip
remove log line prefix by getpid()
Diffstat (limited to '')
-rw-r--r--smtpd/log.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/smtpd/log.c b/smtpd/log.c
index 8c555620..4f4c2688 100644
--- a/smtpd/log.c
+++ b/smtpd/log.c
@@ -31,8 +31,6 @@
#include <string.h>
#include <syslog.h>
#include <time.h>
-#include <unistd.h> /* getpid */
-
#include "log.h"
@@ -80,7 +78,6 @@ vlog(int pri, const char *fmt, va_list ap)
char *nfmt;
if (debug) {
- fprintf(stderr, "%d: ", getpid());
/* best effort in out of mem situations */
if (asprintf(&nfmt, "%s\n", fmt) == -1) {
vfprintf(stderr, fmt, ap);