moved vars into conditional since seems that winsock implementation doesnt use them.
This commit is contained in:
@@ -1208,14 +1208,14 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done)
|
|||||||
int interval_ms;
|
int interval_ms;
|
||||||
struct pollfd pfd[2];
|
struct pollfd pfd[2];
|
||||||
int poll_cnt;
|
int poll_cnt;
|
||||||
|
curl_off_t total_dl = 0;
|
||||||
|
curl_off_t total_ul = 0;
|
||||||
#endif
|
#endif
|
||||||
ssize_t nread;
|
ssize_t nread;
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
bool keepon = TRUE;
|
bool keepon = TRUE;
|
||||||
char *buf = data->state.buffer;
|
char *buf = data->state.buffer;
|
||||||
struct TELNET *tn;
|
struct TELNET *tn;
|
||||||
curl_off_t total_dl = 0;
|
|
||||||
curl_off_t total_ul = 0;
|
|
||||||
|
|
||||||
*done = TRUE; /* unconditionally */
|
*done = TRUE; /* unconditionally */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user