Commit 7fdf2205 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Add missing space.

Fix type for no connection to warning
parent 901683ee
......@@ -427,7 +427,7 @@ void log_string(char *str, size_t len, enum log_type type, char *fmt, ...)
len -= strlen(str);
str += strlen(str);
plen = snprintf(str, len, logtype(type));
plen = snprintf(str, len, " %s", logtype(type));
len -= plen;
str += plen;
......
......@@ -192,7 +192,7 @@ int main (int argc, char **argv)
status[strlen(status)] = '\n';
statlen = strlen(status);
} else {
log_string(status, 999, LOG_T_INFO,
log_string(status, 999, LOG_T_WARNING,
"New connection to proxy, no connection to controller.\n");
status[strlen(status)+1] = 0;
status[strlen(status)] = '\n';
......
Markdown is supported
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