Commit f33148ff authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Don't append newlines to logging code! That was a silly idea!

parent 221363a3
......@@ -57,7 +57,6 @@ info(const char *fmt, ...)
if (!usesyslog) {
fputs(buf, stderr);
fputc('\n', stderr);
}
else
syslog(LOG_INFO, "%s", buf);
......@@ -71,7 +70,6 @@ warning(const char *fmt, ...)
va_start(args, fmt);
if (!usesyslog) {
vfprintf(stderr, fmt, args);
fputc('\n', stderr);
fflush(stderr);
}
else
......@@ -88,7 +86,6 @@ error(const char *fmt, ...)
va_start(args, fmt);
if (!usesyslog) {
vfprintf(stderr, fmt, args);
fputc('\n', stderr);
fflush(stderr);
}
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment