diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2014-12-15 16:36:57 +0100 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2014-12-16 13:52:06 +0100 |
commit | 759d049ae819adc1e913950da4772b5a6163eb79 (patch) | |
tree | ea1da1584827b855cb3066b67725ca61155a12b5 /lib | |
parent | 1befebc950d7e4fb1ae6ae4e9b6b284ff4a04f89 (diff) |
connect: singleipconnect(): properly try other address families after failure
Diffstat (limited to 'lib')
-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 b3a96ce83..203345b92 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1049,7 +1049,7 @@ static CURLcode singleipconnect(struct connectdata *conn, if(result == CURLE_UNSUPPORTED_PROTOCOL) { /* The address family is not supported on this interface. We can continue trying addresses */ - return CURLE_OK; + return CURLE_COULDNT_CONNECT; } return result; } |