summaryrefslogtreecommitdiffstats
path: root/libssh/legacy.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-08-28 23:31:07 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-08-28 23:31:07 +0200
commit1fa94095543c2b20fade817a5be412edf94dec06 (patch)
tree7efb7fe3f0f9992a23448e527273c0a021608ac1 /libssh/legacy.c
parentadcd2e38e9199d0a3c9d4ad1380851c7e3858d6a (diff)
downloadlibssh-1fa94095543c2b20fade817a5be412edf94dec06.tar.gz
libssh-1fa94095543c2b20fade817a5be412edf94dec06.tar.xz
libssh-1fa94095543c2b20fade817a5be412edf94dec06.zip
ssh_channel_forward_* -> ssh_forward_*
Fixes bug #108
Diffstat (limited to 'libssh/legacy.c')
-rw-r--r--libssh/legacy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/legacy.c b/libssh/legacy.c
index 83fb97a9..ea97a31f 100644
--- a/libssh/legacy.c
+++ b/libssh/legacy.c
@@ -50,7 +50,7 @@ int channel_change_pty_size(ssh_channel channel,int cols,int rows){
}
ssh_channel channel_forward_accept(ssh_session session, int timeout_ms){
- return ssh_channel_forward_accept(session,timeout_ms);
+ return ssh_forward_accept(session,timeout_ms);
}
int channel_close(ssh_channel channel){
@@ -58,12 +58,12 @@ int channel_close(ssh_channel channel){
}
int channel_forward_cancel(ssh_session session, const char *address, int port){
- return ssh_channel_forward_cancel(session, address, port);
+ return ssh_forward_cancel(session, address, port);
}
int channel_forward_listen(ssh_session session, const char *address,
int port, int *bound_port){
- return ssh_channel_forward_listen(session, address, port, bound_port);
+ return ssh_forward_listen(session, address, port, bound_port);
}
void channel_free(ssh_channel channel){