made telrcv() take a ssize_t argument instead of int to better match other

functions (and prevent warnings)
This commit is contained in:
Daniel Stenberg 2004-08-09 08:25:39 +00:00
parent d003f6e125
commit 02c6fde11e
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ static CURLcode check_wsock2 ( struct SessionHandle *data );
static static
void telrcv(struct connectdata *, void telrcv(struct connectdata *,
unsigned char *inbuf, /* Data received from socket */ 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, static void printoption(struct SessionHandle *data,
const char *direction, const char *direction,
@ -899,7 +899,7 @@ static void suboption(struct connectdata *conn)
static static
void telrcv(struct connectdata *conn, void telrcv(struct connectdata *conn,
unsigned char *inbuf, /* Data received from socket */ unsigned char *inbuf, /* Data received from socket */
int count) /* Number of bytes received */ ssize_t count) /* Number of bytes received */
{ {
unsigned char c; unsigned char c;
int in = 0; int in = 0;