[server] varargs cleanup bug fix found by Coverity
This commit is contained in:
parent
d60870740d
commit
8e31f8feb0
@ -164,7 +164,10 @@ log_msg(int level, char* msg, ...)
|
||||
va_end(apse);
|
||||
|
||||
if(LOG_STDERR_ONLY & level)
|
||||
{
|
||||
va_end(ap);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Remove the log to stderr flag from the log level value.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user