From: Daniel Stenberg Date: Mon, 9 Aug 2004 08:25:39 +0000 (+0000) Subject: made telrcv() take a ssize_t argument instead of int to better match other X-Git-Tag: curl-7_12_1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02c6fde11eb506b5e8b535d9460fb3043d311c5f;p=thirdparty%2Fcurl.git made telrcv() take a ssize_t argument instead of int to better match other functions (and prevent warnings) --- diff --git a/lib/telnet.c b/lib/telnet.c index f5381aa741..1d5cdf64a6 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -108,7 +108,7 @@ static CURLcode check_wsock2 ( struct SessionHandle *data ); static void telrcv(struct connectdata *, unsigned char *inbuf, /* Data received from socket */ - int count); /* Number of bytes received */ + ssize_t count); /* Number of bytes received */ static void printoption(struct SessionHandle *data, const char *direction, @@ -899,7 +899,7 @@ static void suboption(struct connectdata *conn) static void telrcv(struct connectdata *conn, unsigned char *inbuf, /* Data received from socket */ - int count) /* Number of bytes received */ + ssize_t count) /* Number of bytes received */ { unsigned char c; int in = 0;