1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

messages: Log message if callback for window change fails

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-09-26 10:36:16 +02:00
parent cc4f220fd3
commit 60a3796041

View File

@@ -232,6 +232,10 @@ static int ssh_execute_server_request(ssh_session session, ssh_message msg)
msg->channel_request.height,
msg->channel_request.pxwidth,
msg->channel_request.pxheight);
if (rc != SSH_OK) {
SSH_LOG(SSH_LOG_WARNING,
"Failed to iterate callbacks for window change");
}
return SSH_OK;
}
ssh_callbacks_iterate_end();