aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2011-02-11 23:03:03 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-12 14:29:03 +0100
commit8e0e4d8fb36cff426450c057a12eb6226b58ec11 (patch)
tree87ce5342a7faa8ca9b2c695e00a6cb0c1a53704c /src
parent8b51d29363b050b74e786d7a58e18ef785a9c08e (diff)
downloadlibssh-8e0e4d8fb36cff426450c057a12eb6226b58ec11.tar.gz
libssh-8e0e4d8fb36cff426450c057a12eb6226b58ec11.tar.xz
libssh-8e0e4d8fb36cff426450c057a12eb6226b58ec11.zip
ssh_connect_host_nonblocking returns SSH_EINTR, not E_INTR, so update documentation
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connect.c b/src/connect.c
index ec0a2ca..6f4fa81 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -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