aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Wimmer <g4-lisz@tonarchiv.ch>2019-02-25 17:09:45 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-02-27 08:17:53 +0100
commit8234df5decfd924fb3ebdc5d75a5021491d8d26d (patch)
treedb5586e59edea747e162d39ba553bbbed01b2feb
parent4a67c191188601c8d98ec73b9d53ce8a2b6c6cf8 (diff)
downloadlibssh-8234df5decfd924fb3ebdc5d75a5021491d8d26d.tar.gz
libssh-8234df5decfd924fb3ebdc5d75a5021491d8d26d.tar.xz
libssh-8234df5decfd924fb3ebdc5d75a5021491d8d26d.zip
ssh_event_dopoll can also return SSH_AGAIN
Signed-off-by: Till Wimmer <g4-lisz@tonarchiv.ch> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/poll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/poll.c b/src/poll.c
index 41231402..46206949 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -952,6 +952,7 @@ int ssh_event_add_connector(ssh_event event, ssh_connector connector){
* the poll() function.
* @returns SSH_OK on success.
* SSH_ERROR Error happened during the poll.
+ * SSH_AGAIN Timeout occured
*/
int ssh_event_dopoll(ssh_event event, int timeout) {
int rc;