1
1

SFTP: keep the sftp error code as 32 bit

'last_errno' holds to the error code from the SFTP protocol and
since that is 32 bits on the wire there's no point in using a
long for this internally which is larger on some platforms.
Этот коммит содержится в:
Daniel Stenberg 2010-06-11 13:00:31 +02:00
родитель 3490b3fe10
Коммит 18605cb81f

Просмотреть файл

@ -583,7 +583,7 @@ struct _LIBSSH2_SFTP
/* a list of _LIBSSH2_SFTP_HANDLE structs */
struct list_head sftp_handles;
unsigned long last_errno;
uint32_t last_errno;
/* Holder for partial packet, use in libssh2_sftp_packet_read() */
unsigned char *partial_packet; /* The data */