diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-10-29 07:49:57 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-10-29 07:49:57 +0000 |
commit | 3edd9b4dfce900fb80918c056553c2cfde10b6e1 (patch) | |
tree | d8d9ec7f3a79ba18be3839028822df6bf6203828 | |
parent | 1a8cf79ae0b7f96834bcd5348da657d47da7fef5 (diff) |
SM's waitconnect return code fix!
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 4adc9f85c..b952d85e8 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -538,7 +538,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */ } break; } - if(-1 == rc) { + if(0 != rc) { /* no good connect was made */ sclose(sockfd); *sockconn = -1; |