diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-05-21 23:26:32 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-05-21 23:26:32 -0400 |
commit | 78ac944dc267481992a5edbbb5791028687420a7 (patch) | |
tree | 58b3b775d37b8fc5bf55ec0b2efed31afd1e08b6 /lib | |
parent | ee04c20b743377b988ded7784d90368b9797dd8b (diff) |
telnet: Fix read-callback change for Windows builds
Refer to b0143a2 for more information on the read-callback change.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/telnet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 4ea049d21..aabf99d48 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1423,7 +1423,8 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done) for(;;) { if(data->set.is_fread_set) { /* read from user-supplied method */ - result = (int) conn->fread_func(buf, 1, BUFSIZE - 1, data->set.in); + result = (int)data->set.fread_func(buf, 1, BUFSIZE - 1, + data->set.in); if(result == CURL_READFUNC_ABORT) { keepon = FALSE; result = CURLE_READ_ERROR; |