mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
oops, variables first then code
This commit is contained in:
parent
a173e07eec
commit
444f6427b8
@ -154,8 +154,8 @@ void Curl_infof(struct SessionHandle *data, const char *fmt, ...)
|
|||||||
void Curl_failf(struct SessionHandle *data, const char *fmt, ...)
|
void Curl_failf(struct SessionHandle *data, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, fmt);
|
|
||||||
size_t len;
|
size_t len;
|
||||||
|
va_start(ap, fmt);
|
||||||
|
|
||||||
vsnprintf(data->state.buffer, BUFSIZE, fmt, ap);
|
vsnprintf(data->state.buffer, BUFSIZE, fmt, ap);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user