aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-21 14:33:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-21 14:33:37 +0000
commit444f6427b8d561281498c3f782857a5818ad51c6 (patch)
treec21640276a9484e03430526a5fa9bf32aa71199d /lib/sendf.c
parenta173e07eec19b49af0f3f32f636768eee653ebbf (diff)
oops, variables first then code
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 91671b95e..4094c3239 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -154,8 +154,8 @@ void Curl_infof(struct SessionHandle *data, const char *fmt, ...)
void Curl_failf(struct SessionHandle *data, const char *fmt, ...)
{
va_list ap;
- va_start(ap, fmt);
size_t len;
+ va_start(ap, fmt);
vsnprintf(data->state.buffer, BUFSIZE, fmt, ap);