summaryrefslogtreecommitdiffstats
path: root/libssh/server.c
diff options
context:
space:
mode:
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){