fixed wrong type and sync with usage.

This commit is contained in:
Guenter Knauf 2007-04-12 22:03:27 +00:00
parent 93e36271a6
commit 51e49f5a1e

View File

@ -506,7 +506,7 @@ libssh2pack_t libssh2_packet_read(LIBSSH2_SESSION *session)
static libssh2pack_t send_existing(LIBSSH2_SESSION *session,
unsigned char *data,
unsigned long data_len,
int *ret)
ssize_t *ret)
{
ssize_t rc;
ssize_t length;