diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-01-16 14:47:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-01-16 14:47:50 +0000 |
commit | f2bda5fd5bf0393ea5774d2417604672eedd2900 (patch) | |
tree | e7ee2f1fe1d926069f3b6a9a0f958fd0aada6ee7 | |
parent | cba9838e8fcfdd653a60f7b01edacdb3a31214a2 (diff) | |
download | curl-f2bda5fd5bf0393ea5774d2417604672eedd2900.tar.gz |
Curl_write() now takes a different 5th argument
-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 5dfed6970..ede4f08f5 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1090,7 +1090,7 @@ CURLcode Curl_telnet(struct connectdata *conn) { unsigned char outbuf[2]; int out_count = 0; - size_t bytes_written; + ssize_t bytes_written; char *buffer = buf; if(!ReadFile(stdin_handle, buf, 255, &nread, NULL)) { @@ -1160,7 +1160,7 @@ CURLcode Curl_telnet(struct connectdata *conn) if(FD_ISSET(0, &readfd)) { /* read from stdin */ unsigned char outbuf[2]; int out_count = 0; - size_t bytes_written; + ssize_t bytes_written; char *buffer = buf; nread = read(0, buf, 255); |