aboutsummaryrefslogtreecommitdiff
path: root/libssh/sftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/sftp.c')
-rw-r--r--libssh/sftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/sftp.c b/libssh/sftp.c
index 319e96f2..df8bc2c0 100644
--- a/libssh/sftp.c
+++ b/libssh/sftp.c
@@ -109,7 +109,7 @@ SFTP_SESSION *sftp_server_new(SSH_SESSION *session, ssh_channel chan){
}
int sftp_server_init(SFTP_SESSION *sftp){
- struct ssh_session *session = sftp->session;
+ ssh_session session = sftp->session;
SFTP_PACKET *packet = NULL;
ssh_buffer reply = NULL;
u32 version;