aboutsummaryrefslogtreecommitdiff
path: root/libssh/sftp.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 21:55:54 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 21:55:54 +0200
commit9a8d4cd0fdd18127065cacbc11296933669ea9ca (patch)
treecccf507167e28aa5038cea357d1f220668a4e937 /libssh/sftp.c
parentffed8b03bb6e170abbd9564547ba439302840618 (diff)
downloadlibssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.tar.gz
libssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.tar.xz
libssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.zip
get rid of SSH_SESSION
Diffstat (limited to 'libssh/sftp.c')
-rw-r--r--libssh/sftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/sftp.c b/libssh/sftp.c
index 49eb565c..668ad6e2 100644
--- a/libssh/sftp.c
+++ b/libssh/sftp.c
@@ -95,7 +95,7 @@ static void sftp_ext_free(sftp_ext ext) {
SAFE_FREE(ext);
}
-SFTP_SESSION *sftp_new(SSH_SESSION *session){
+SFTP_SESSION *sftp_new(ssh_session session){
SFTP_SESSION *sftp;
enter_function();
@@ -145,7 +145,7 @@ SFTP_SESSION *sftp_new(SSH_SESSION *session){
}
#ifdef WITH_SERVER
-SFTP_SESSION *sftp_server_new(SSH_SESSION *session, ssh_channel chan){
+SFTP_SESSION *sftp_server_new(ssh_session session, ssh_channel chan){
SFTP_SESSION *sftp = NULL;
sftp = malloc(sizeof(SFTP_SESSION));