1
0
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:
Bernhard R. Link
2011-02-11 23:03:03 +01:00
committed by Andreas Schneider
parent 8b51d29363
commit 8e0e4d8fb3

View File

@@ -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