diff options
author | Charles Longeau <github@chl.be> | 2013-05-02 15:42:06 +0200 |
---|---|---|
committer | Charles Longeau <github@chl.be> | 2013-05-02 15:42:06 +0200 |
commit | 2dbc95e56655d87e56743ecb4ccefee4b23935ff (patch) | |
tree | 06449ea8735b952e37e8e6de2280a3f3a8ff0bff /smtpd/log.c | |
parent | add missing backends & filters Makefile.am, reported by eric@ :) (diff) | |
download | OpenSMTPD-2dbc95e56655d87e56743ecb4ccefee4b23935ff.tar.xz OpenSMTPD-2dbc95e56655d87e56743ecb4ccefee4b23935ff.zip |
remove log line prefix by getpid()
Diffstat (limited to '')
-rw-r--r-- | smtpd/log.c | 3 |
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); |