mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
channels: Fix return value of ssh_channel_request_pty_size with SSHv1.
Thanks to Dmitriy Kuznetsov <dk@yandex.ru>.
This commit is contained in:
@@ -1616,7 +1616,7 @@ int ssh_channel_request_pty_size(ssh_channel channel, const char *terminal,
|
||||
enter_function();
|
||||
#ifdef WITH_SSH1
|
||||
if (channel->version==1) {
|
||||
channel_request_pty_size1(channel,terminal, col, row);
|
||||
rc = channel_request_pty_size1(channel,terminal, col, row);
|
||||
leave_function();
|
||||
return rc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user