projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adaf875
)
moved vars into conditional since seems that winsock implementation doesnt use them.
author
Hacki
<hacki@wstst10.localdomain>
Sat, 8 May 2010 03:38:42 +0000
(
05:38
+0200)
committer
Hacki
<hacki@wstst10.localdomain>
Sat, 8 May 2010 03:38:42 +0000
(
05:38
+0200)
lib/telnet.c
patch
|
blob
|
history
diff --git
a/lib/telnet.c
b/lib/telnet.c
index
b94415d
..
1a5683d
100644
(file)
--- 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 */