Skip to content
Snippets Groups Projects
Commit f2bda5fd authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Curl_write() now takes a different 5th argument

parent cba9838e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment