aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-09 08:25:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-09 08:25:39 +0000
commit02c6fde11eb506b5e8b535d9460fb3043d311c5f (patch)
treeaffb9cadef3f3e3ac4d17645524c2846ec92e195
parentd003f6e125f5587594d453b6c2001f056c214c29 (diff)
made telrcv() take a ssize_t argument instead of int to better match other
functions (and prevent warnings)
-rw-r--r--lib/telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index f5381aa74..1d5cdf64a 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;