Commit 02c6fde1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

functions (and prevent warnings)
parent d003f6e1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;