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:
cba9838
)
Curl_write() now takes a different 5th argument
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 16 Jan 2002 14:47:50 +0000
(14:47 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 16 Jan 2002 14:47:50 +0000
(14:47 +0000)
lib/telnet.c
patch
|
blob
|
history
diff --git
a/lib/telnet.c
b/lib/telnet.c
index
5dfed69
..
ede4f08
100644
(file)
--- 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;
+ s
s
ize_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;
+ s
s
ize_t bytes_written;
char *buffer = buf;
nread = read(0, buf, 255);