mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
made telrcv() take a ssize_t argument instead of int to better match other
functions (and prevent warnings)
This commit is contained in:
parent
d003f6e125
commit
02c6fde11e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user