aboutsummaryrefslogtreecommitdiff
path: root/libssh/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/channels.c')
-rw-r--r--libssh/channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index eb54a074..cfe1808a 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -594,7 +594,7 @@ void channel_handle(SSH_SESSION *session, int type){
*/
int channel_default_bufferize(ssh_channel channel, void *data, int len,
int is_stderr) {
- struct ssh_session *session = channel->session;
+ ssh_session session = channel->session;
ssh_log(session, SSH_LOG_RARE,
"placing %d bytes into channel buffer (stderr=%d)", len, is_stderr);