netstat: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3291ead14d
commit
3b6b24ea42
|
@ -78,7 +78,7 @@ static int WINAPIV NETSTAT_wprintf(const WCHAR *format, ...)
|
|||
static BOOL traceOutput = FALSE;
|
||||
#define MAX_WRITECONSOLE_SIZE 65535
|
||||
|
||||
__ms_va_list parms;
|
||||
va_list parms;
|
||||
DWORD nOut;
|
||||
int len;
|
||||
DWORD res = 0;
|
||||
|
@ -96,9 +96,9 @@ static int WINAPIV NETSTAT_wprintf(const WCHAR *format, ...)
|
|||
return 0;
|
||||
}
|
||||
|
||||
__ms_va_start(parms, format);
|
||||
va_start(parms, format);
|
||||
len = wvsprintfW(output_bufW, format, parms);
|
||||
__ms_va_end(parms);
|
||||
va_end(parms);
|
||||
|
||||
/* Try to write as unicode all the time we think it's a console */
|
||||
if (toConsole) {
|
||||
|
|
Loading…
Reference in New Issue