aboutsummaryrefslogtreecommitdiff
path: root/doc/forwarding.dox
diff options
context:
space:
mode:
Diffstat (limited to 'doc/forwarding.dox')
-rw-r--r--doc/forwarding.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/forwarding.dox b/doc/forwarding.dox
index bb93c7b1..ca3b94f8 100644
--- a/doc/forwarding.dox
+++ b/doc/forwarding.dox
@@ -101,7 +101,7 @@ used to retrieve google's home page from the remote SSH server.
int direct_forwarding(ssh_session session)
{
ssh_channel forwarding_channel;
- int rc;
+ int rc = SSH_ERROR;
char *http_get = "GET / HTTP/1.1\nHost: www.google.com\n\n";
int nbytes, nwritten;