mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-02 21:36:29 +03:00
nfqws,tpws: missing va_end
This commit is contained in:
parent
6387315c0b
commit
1b880d42f9
@ -65,6 +65,7 @@ static int DLOG_VA(const char *format, int syslog_priority, bool condup, va_list
|
|||||||
{
|
{
|
||||||
va_copy(args2,args);
|
va_copy(args2,args);
|
||||||
DLOG_CON(format,syslog_priority,args2);
|
DLOG_CON(format,syslog_priority,args2);
|
||||||
|
va_end(args2);
|
||||||
}
|
}
|
||||||
if (params.debug)
|
if (params.debug)
|
||||||
{
|
{
|
||||||
|
@ -50,6 +50,7 @@ static int DLOG_VA(const char *format, int syslog_priority, bool condup, int lev
|
|||||||
{
|
{
|
||||||
va_copy(args2,args);
|
va_copy(args2,args);
|
||||||
DLOG_CON(format,syslog_priority,args2);
|
DLOG_CON(format,syslog_priority,args2);
|
||||||
|
va_end(args2);
|
||||||
}
|
}
|
||||||
if (params.debug>=level)
|
if (params.debug>=level)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user