Author: pschweitzer
Date: Sun May 1 13:36:15 2016
New Revision: 71223
URL:
http://svn.reactos.org/svn/reactos?rev=71223&view=rev
Log:
[DHCPCSVC]
Properly end variadic args enumeration
Modified:
trunk/reactos/dll/win32/dhcpcsvc/dhcp/util.c
Modified: trunk/reactos/dll/win32/dhcpcsvc/dhcp/util.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dhcpcsvc/dhcp/ut…
==============================================================================
--- trunk/reactos/dll/win32/dhcpcsvc/dhcp/util.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dhcpcsvc/dhcp/util.c [iso-8859-1] Sun May 1 13:36:15 2016
@@ -17,7 +17,7 @@
ret = _vsnprintf( buf, sizeof(buf), format, arg_begin );
- va_end( format );
+ va_end( arg_begin );
DPRINT("NOTE: %s\n", buf);
@@ -32,7 +32,7 @@
ret = _vsnprintf( buf, sizeof(buf), format, arg_begin );
- va_end( format );
+ va_end( arg_begin );
DPRINT("DEBUG: %s\n", buf);
@@ -47,7 +47,7 @@
ret = _vsnprintf( buf, sizeof(buf), format, arg_begin );
- va_end( format );
+ va_end( arg_begin );
DPRINT("WARN: %s\n", buf);
@@ -62,7 +62,7 @@
ret = _vsnprintf( buf, sizeof(buf), format, arg_begin );
- va_end( format );
+ va_end( arg_begin );
DPRINT("WARNING: %s\n", buf);
@@ -76,7 +76,7 @@
_vsnprintf( buf, sizeof(buf), format, arg_begin );
- va_end( format );
+ va_end( arg_begin );
DPRINT1("ERROR: %s\n", buf);
}