mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
ssh_connect_host_nonblocking returns SSH_EINTR, not E_INTR, so update documentation
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
8b51d29363
commit
8e0e4d8fb3
@@ -472,7 +472,7 @@ socket_t ssh_connect_host_nonblocking(ssh_session session, const char *host,
|
||||
*
|
||||
* @param[in] timeout A timeout for the select.
|
||||
*
|
||||
* @return -1 if an error occured. E_INTR if it was interrupted, in
|
||||
* @return -1 if an error occured. SSH_EINTR if it was interrupted, in
|
||||
* that case, just restart it.
|
||||
*
|
||||
* @warning libssh is not threadsafe here. That means that if a signal is caught
|
||||
|
||||
Reference in New Issue
Block a user