[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] src: Fix argument order in ssh_channel_pty_window_change_callback
[Thread Prev] | [Thread Next]
- Subject: [PATCH] src: Fix argument order in ssh_channel_pty_window_change_callback
- From: Audrius Butkevicius <audrius.butkevicius@xxxxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sun, 26 Jan 2014 03:10:30 +0000
- To: libssh@xxxxxxxxxx
Hi, Something I've stumbled upon while working on my previous patch. Explanation in summary. Regards, Audrius.
From 569e5853f702bbfc73b5abdd479e71f6b1666285 Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius <audrius.butkevicius@xxxxxxxxx> Date: Sun, 26 Jan 2014 02:58:15 +0000 Subject: [PATCH] src: Fix argument order in ssh_channel_pty_window_change_callback So that it would match ssh_channel_pty_request_callback as well as the documentation Signed-off-by: Audrius Butkevicius <audrius.butkevicius@xxxxxxxxx> --- src/messages.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messages.c b/src/messages.c index 45d67bc..4246c63 100644 --- a/src/messages.c +++ b/src/messages.c @@ -208,8 +208,8 @@ static int ssh_execute_server_request(ssh_session session, ssh_message msg) ssh_callbacks_exists(channel->callbacks, channel_pty_window_change_function)) { rc = channel->callbacks->channel_pty_window_change_function(session, channel, - msg->channel_request.height, msg->channel_request.width, - msg->channel_request.pxheight, msg->channel_request.pxwidth, + msg->channel_request.width, msg->channel_request.height, + msg->channel_request.pxwidth, msg->channel_request.pxheight, channel->callbacks->userdata); } else if (msg->channel_request.type == SSH_CHANNEL_REQUEST_EXEC && ssh_callbacks_exists(channel->callbacks, channel_exec_request_function)) { -- 1.7.2.5
Archive administrator: postmaster@lists.cynapses.org