corrected wrong comment and made libssh2_channel_wait_closed() return 0 as
documented!
This commit is contained in:
parent
b310cc3465
commit
0242a3b6af
@ -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;
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
Loading…
x
Reference in New Issue
Block a user