Skip to content
Snippets Groups Projects
Commit 71d0700b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix extra argument in printf format specifier

CID 319101

Beautified another lprintf() statement while at it.
parent e7319ff0
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
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