diff options
author | Hacki <hacki@wstst10.localdomain> | 2010-05-08 05:38:42 +0200 |
---|---|---|
committer | Hacki <hacki@wstst10.localdomain> | 2010-05-08 05:38:42 +0200 |
commit | d2621445f1947b32dff06dfa3356a9be966b96da (patch) | |
tree | 63b56738e8e3623d83fef0056edfda1245ce9b2c | |
parent | adaf87530dc561314a2261fa6d26c38ce999876f (diff) |
moved vars into conditional since seems that winsock implementation doesnt use them.
-rw-r--r-- | lib/telnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index b94415db5..1a5683d40 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 */ |