mirror of https://github.com/moparisthebest/curl
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
|
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;
|
||||||
|
|
Loading…
Reference in New Issue