corrected wrong comment and made libssh2_channel_wait_closed() return 0 as

documented!
This commit is contained in:
Daniel Stenberg 2007-11-29 11:32:34 +00:00
parent b310cc3465
commit 0242a3b6af

View File

@ -1854,7 +1854,7 @@ libssh2_channel_eof(LIBSSH2_CHANNEL * channel)
/* }}} */
/* {{{ libssh2_channel_wait_closed
/* {{{ libssh2_channel_wait_eof
* Awaiting channel EOF
*/
LIBSSH2_API int
@ -2007,7 +2007,7 @@ libssh2_channel_wait_closed(LIBSSH2_CHANNEL * channel)
channel->wait_closed_state = libssh2_NB_state_idle;
return 1;
return 0;
}
/* }}} */