diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-03-04 04:40:01 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-03-04 04:40:01 +0000 |
commit | 8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50 (patch) | |
tree | 4c6e0002241f11505c9a0067e760e2bcd829a8e4 /libssh/connect.c | |
parent | 77743b75f41bd353c09da6a740562d621ed9382d (diff) | |
download | libssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.tar.gz libssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.tar.xz libssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.zip |
fixed a load of ssh_set_error(NULL,...)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@139 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/connect.c')
-rw-r--r-- | libssh/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/connect.c b/libssh/connect.c index 5976090..ad8a4f3 100644 --- a/libssh/connect.c +++ b/libssh/connect.c @@ -213,7 +213,7 @@ int ssh_fd_poll(SSH_SESSION *session, int *write, int *except){ /* Make the call, and listen for errors */ if (select(fdmax, &rdes,&wdes,&edes, &sometime) < 0) { - ssh_set_error(NULL,SSH_FATAL, "select: %s", strerror(errno)); + ssh_set_error(session,SSH_FATAL, "select: %s", strerror(errno)); return -1; } if(!session->data_to_read) |