summaryrefslogtreecommitdiffstats
path: root/libssh/socket.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-06-24 09:16:58 +0200
committerAndreas Schneider <asn@cynapses.org>2010-06-24 09:16:58 +0200
commitfd45c1b36b4ccb9247af1cf69a07fda1152f6c72 (patch)
treea488072a24cc83976b1638eace9c7ca1576ffbd3 /libssh/socket.c
parent508067158162df11cd07a2b264b12f07c6d78e46 (diff)
poll: Fixed building with poll-emulation on UNIX.
Diffstat (limited to 'libssh/socket.c')
-rw-r--r--libssh/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/socket.c b/libssh/socket.c
index d074ed47..c88a149d 100644
--- a/libssh/socket.c
+++ b/libssh/socket.c
@@ -72,8 +72,9 @@ int ssh_socket_init(void) {
return -1;
}
- ssh_poll_init();
#endif
+ ssh_poll_init();
+
return 0;
}
/*