mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09:00
ssh_event_dopoll can also return SSH_AGAIN
Signed-off-by: Till Wimmer <g4-lisz@tonarchiv.ch> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
4a67c19118
commit
8234df5dec
@@ -952,6 +952,7 @@ int ssh_event_add_connector(ssh_event event, ssh_connector connector){
|
|||||||
* the poll() function.
|
* the poll() function.
|
||||||
* @returns SSH_OK on success.
|
* @returns SSH_OK on success.
|
||||||
* SSH_ERROR Error happened during the poll.
|
* SSH_ERROR Error happened during the poll.
|
||||||
|
* SSH_AGAIN Timeout occured
|
||||||
*/
|
*/
|
||||||
int ssh_event_dopoll(ssh_event event, int timeout) {
|
int ssh_event_dopoll(ssh_event event, int timeout) {
|
||||||
int rc;
|
int rc;
|
||||||
|
|||||||
Reference in New Issue
Block a user