aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c2
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;
}