[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] ssh_event_dopoll returns SSH_AGAIN annotation
[Thread Prev] | [Thread Next]
- Subject: [patch] ssh_event_dopoll returns SSH_AGAIN annotation
- From: g4-lisz@xxxxxxxxxxxx
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 25 Feb 2019 17:13:45 +0100
- To: libssh@xxxxxxxxxx
Hi there, Just a small addition to the ssh_event_dopoll() annotations: It can also return SSH_AGAIN. Cheers, Till
From 860079f22f5f7ae38c28d6783af97c1d4289d2d8 Mon Sep 17 00:00:00 2001 From: Till Wimmer <g4-lisz@xxxxxxxxxxxx> Date: Mon, 25 Feb 2019 17:09:45 +0100 Subject: [PATCH] ssh_event_dopoll can also return SSH_AGAIN Signed-off-by: Till Wimmer <g4-lisz@xxxxxxxxxxxx> --- src/poll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/poll.c b/src/poll.c index 4123140..4620694 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; -- 2.7.4
Archive administrator: postmaster@lists.cynapses.org