sftp_packet_add: use named error code instead of number

This commit is contained in:
Daniel Stenberg 2012-03-13 22:01:33 +01:00
parent 8fc16beda9
commit a1c996cef1

View File

@ -200,7 +200,7 @@ sftp_packet_add(LIBSSH2_SFTP *sftp, unsigned char *data,
_libssh2_list_add(&sftp->packets, &packet->node);
return 0;
return LIBSSH2_ERROR_NONE;
}
/*