diff --git a/lib/telnet.c b/lib/telnet.c index b94415db579169b1341955a6037ef387198849c3..1a5683d401321dfb7f32cfdf8f194729aebcd965 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1208,14 +1208,14 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done) int interval_ms; struct pollfd pfd[2]; int poll_cnt; + curl_off_t total_dl = 0; + curl_off_t total_ul = 0; #endif ssize_t nread; struct timeval now; bool keepon = TRUE; char *buf = data->state.buffer; struct TELNET *tn; - curl_off_t total_dl = 0; - curl_off_t total_ul = 0; *done = TRUE; /* unconditionally */