aboutsummaryrefslogtreecommitdiff
path: root/libssh/server.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-29 11:49:44 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-29 11:49:44 +0000
commitf119a27bb6cd25e06875067aa2da7bab84158f79 (patch)
tree45e9ea2f744915d6e89121edb199df6ee0a93cfc /libssh/server.c
parent23a55a0a0ad0e39f6dab34ef6e3d9a41bfb4d547 (diff)
downloadlibssh-f119a27bb6cd25e06875067aa2da7bab84158f79.tar.gz
libssh-f119a27bb6cd25e06875067aa2da7bab84158f79.tar.xz
libssh-f119a27bb6cd25e06875067aa2da7bab84158f79.zip
Format ssh_bind options.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@651 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/server.c')
-rw-r--r--libssh/server.c12
1 files 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){