Commit e7776dcc authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix extra argument in printf format specifier

CID 319101

Beautified another lprintf() statement while at it.
parent 3425a0c3
......@@ -624,14 +624,14 @@ void status_thread(void *arg)
if (p-auth >= len) {
closesocket(*csock);
free(csock);
lprintf(LOG_WARNING, "No syspass specified", p);
lprintf(LOG_WARNING, "No syspass specified: '%s'", p);
pthread_mutex_lock(&status_thread_mutex);
continue;
}
if (stricmp(p, scfg.sys_pass)) {
closesocket(*csock);
free(csock);
lprintf(LOG_WARNING, "Invalid syspass %s", p);
lprintf(LOG_WARNING, "Invalid syspass: '%s'", p);
pthread_mutex_lock(&status_thread_mutex);
continue;
}
......
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