From 9b31ca67ac98f3e68c9574b45dca22cf5270c620 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 24 Jun 2008 22:33:25 +0000 Subject: [PATCH] Gah, I broke Sebastian's patch when I left out the parentheses his patch did contain. Added properly now. --- src/sftp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sftp.c b/src/sftp.c index b0c7abca..baf0c4bb 100644 --- a/src/sftp.c +++ b/src/sftp.c @@ -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;