From f119a27bb6cd25e06875067aa2da7bab84158f79 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Apr 2009 11:49:44 +0000 Subject: Format ssh_bind options. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@651 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/server.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libssh/server.c b/libssh/server.c index 0fab8f1..7557c75 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -163,16 +163,16 @@ int ssh_bind_listen(SSH_BIND *ssh_bind) { return 0; } -void ssh_bind_set_blocking(SSH_BIND *ssh_bind, int blocking){ - ssh_bind->blocking=blocking?1:0; +void ssh_bind_set_blocking(SSH_BIND *ssh_bind, int blocking) { + ssh_bind->blocking = blocking ? 1 : 0; } -int ssh_bind_get_fd(SSH_BIND *ssh_bind){ - return ssh_bind->bindfd; +int ssh_bind_get_fd(SSH_BIND *ssh_bind) { + return ssh_bind->bindfd; } -void ssh_bind_fd_toaccept(SSH_BIND *ssh_bind){ - ssh_bind->toaccept=1; +void ssh_bind_fd_toaccept(SSH_BIND *ssh_bind) { + ssh_bind->toaccept = 1; } SSH_SESSION *ssh_bind_accept(SSH_BIND *ssh_bind){ -- cgit