Skip to content
Snippets Groups Projects
Commit f6e14e43 authored by Fredrik Thulin's avatar Fredrik Thulin
Browse files

Avoid linefeeds on stdout when using syslog.

parent 49d858ac
No related branches found
No related tags found
No related merge requests found
......@@ -105,10 +105,10 @@ void gck_rpc_log(const char *msg, ...)
va_start(ap, msg);
#if DEBUG_OUTPUT
vfprintf(stderr, msg, ap);
fprintf(stderr, "\n");
#else
vsyslog(LOG_INFO,msg,ap);
#endif
printf("\n");
va_end(ap);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment