diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2012-09-07 12:21:28 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-09-07 12:21:28 +0200 |
commit | 3739bd99c556f6fc7fba4a2917566c350ac61605 (patch) | |
tree | bcaf59b6903b6b5bcffa08c991db27adc3bcaf74 /src/channels.c | |
parent | 320951f42ff5def186da70d2e52457b7c1d06f50 (diff) | |
download | libssh-3739bd99c556f6fc7fba4a2917566c350ac61605.tar.gz libssh-3739bd99c556f6fc7fba4a2917566c350ac61605.tar.xz libssh-3739bd99c556f6fc7fba4a2917566c350ac61605.zip |
channels: Fix return value of ssh_channel_request_pty_size with SSHv1.
Thanks to Dmitriy Kuznetsov <dk@yandex.ru>.
Diffstat (limited to 'src/channels.c')
-rw-r--r-- | src/channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c index cc1a43cc..b9f5f212 100644 --- a/src/channels.c +++ b/src/channels.c @@ -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; } |