diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-05 21:10:50 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-05 21:10:50 +0000 |
commit | 55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5 (patch) | |
tree | 14a9b2f68ddbf29eb80e119e85d0bff4627f1d3f /libssh/options.c | |
parent | d40f16d48ec1ed9670c20ffaad1005c59a689484 (diff) | |
download | libssh-55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5.tar.gz libssh-55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5.tar.xz libssh-55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5.zip |
Beginning of the SSH_BIND implementation
hack for errors handling so it supports an Object-oriented kind of errors (generic for ssh_bind and ssh_session data types)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@3 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/options.c b/libssh/options.c index 17d9d3d..1de3625 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -35,6 +35,7 @@ SSH_OPTIONS *ssh_options_new(){ option->fd=-1; option->ssh2allowed=1; option->ssh1allowed=0; + option->bindport=22; return option; } |