Gah, I broke Sebastian's patch when I left out the parentheses his patch

did contain. Added properly now.
This commit is contained in:
Daniel Stenberg 2008-06-24 22:33:25 +00:00
parent 3f0d30d1d6
commit 9b31ca67ac

View File

@ -1468,8 +1468,8 @@ libssh2_sftp_fstat_ex(LIBSSH2_SFTP_HANDLE * handle,
return PACKET_EAGAIN;
} else if (packet_len != rc) {
libssh2_error(session, LIBSSH2_ERROR_SOCKET_SEND,
setstat ? "Unable to send FXP_FSETSTAT"
: "Unable to send FXP_FSTAT command", 0);
(setstat ? "Unable to send FXP_FSETSTAT"
: "Unable to send FXP_FSTAT command"), 0);
LIBSSH2_FREE(session, sftp->fstat_packet);
sftp->fstat_packet = NULL;
sftp->fstat_state = libssh2_NB_state_idle;