aboutsummaryrefslogtreecommitdiff
path: root/doc/forwarding.dox
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-12-19 18:10:16 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-12-19 18:10:16 +0100
commit9fa53cd9323479e1fbea1990661e4439f6909035 (patch)
tree0e678e537a1640f9a7026dae7428dd7d4544e1df /doc/forwarding.dox
parent5cd7942801550678b63187e37340bc9e15b874b4 (diff)
downloadlibssh-9fa53cd9323479e1fbea1990661e4439f6909035.tar.gz
libssh-9fa53cd9323479e1fbea1990661e4439f6909035.tar.xz
libssh-9fa53cd9323479e1fbea1990661e4439f6909035.zip
doc: Fix forward function names.
Diffstat (limited to 'doc/forwarding.dox')
-rw-r--r--doc/forwarding.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/forwarding.dox b/doc/forwarding.dox
index 696cb5b9..c250a7b5 100644
--- a/doc/forwarding.dox
+++ b/doc/forwarding.dox
@@ -178,7 +178,7 @@ int web_server(ssh_session session)
" </body>\n"
"</html>\n";
- rc = ssh_channel_forward_listen(session, NULL, 8080, NULL);
+ rc = ssh_forward_channel_listen(session, NULL, 8080, NULL);
if (rc != SSH_OK)
{
fprintf(stderr, "Error opening remote port: %s\n",
@@ -186,7 +186,7 @@ int web_server(ssh_session session)
return rc;
}
- channel = ssh_channel_forward_accept(session, 60000);
+ channel = ssh_forward_channel_accept(session, 60000);
if (channel == NULL)
{
fprintf(stderr, "Error waiting for incoming connection: %s\n",