aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);