1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-10 06:23:02 +03:00

silence picky compiler warnings

This commit is contained in:
Daniel Stenberg
2010-03-03 23:33:25 +01:00
parent a03e1b0457
commit c29ba827e4

View File

@@ -2219,11 +2219,11 @@ channel_close(LIBSSH2_CHANNEL * channel)
}
if (!channel->local.eof)
if (retcode = channel_send_eof(channel))
if ((retcode = channel_send_eof(channel)))
return retcode;
if (!channel->remote.eof)
if (retcode = channel_wait_eof(channel))
if ((retcode = channel_wait_eof(channel)))
return retcode;
if (channel->close_state == libssh2_NB_state_idle) {