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 (!channel->local.eof)
if (retcode = channel_send_eof(channel)) if ((retcode = channel_send_eof(channel)))
return retcode; return retcode;
if (!channel->remote.eof) if (!channel->remote.eof)
if (retcode = channel_wait_eof(channel)) if ((retcode = channel_wait_eof(channel)))
return retcode; return retcode;
if (channel->close_state == libssh2_NB_state_idle) { if (channel->close_state == libssh2_NB_state_idle) {