From 55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 5 Jul 2005 21:10:50 +0000 Subject: 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 --- libssh/options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libssh/options.c') 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; } -- cgit