[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ssh_connect_host_nonblocking returns SSH_EINTR, not E_INTR, so update documentation


---
 src/connect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/connect.c b/src/connect.c
index b962c78..45df628 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -438,7 +438,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
-- 
1.5.6.5


Archive administrator: postmaster@lists.cynapses.org