mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
add missing leave_function()
This commit is contained in:
@@ -2161,8 +2161,10 @@ int channel_poll(ssh_channel channel, int is_stderr){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buffer_get_rest_len(stdbuf) > 0)
|
if (buffer_get_rest_len(stdbuf) > 0){
|
||||||
|
leave_function();
|
||||||
return buffer_get_rest_len(stdbuf);
|
return buffer_get_rest_len(stdbuf);
|
||||||
|
}
|
||||||
|
|
||||||
if (channel->remote_eof) {
|
if (channel->remote_eof) {
|
||||||
leave_function();
|
leave_function();
|
||||||
|
|||||||
Reference in New Issue
Block a user