Commit fd26cce2 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

log_ functions already add newline

parent 7fdf2205
......@@ -187,13 +187,13 @@ int main (int argc, char **argv)
if (fd_log >= 0) {
log_string(status, 999, LOG_T_INFO,
"New connection to proxy, controller conection is established.\n");
"New connection to proxy, controller conection is established.");
status[strlen(status)+1] = 0;
status[strlen(status)] = '\n';
statlen = strlen(status);
} else {
log_string(status, 999, LOG_T_WARNING,
"New connection to proxy, no connection to controller.\n");
"New connection to proxy, no connection to controller.");
status[strlen(status)+1] = 0;
status[strlen(status)] = '\n';
statlen = strlen(status);
......
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