mirror of
https://github.com/curl/curl.git
synced 2026-06-24 00:05:37 +03:00
Curl_write() now takes a different 5th argument
This commit is contained in:
parent
cba9838e8f
commit
f2bda5fd5b
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue