aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index bcc1ed74a..fb21fb7df 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -926,7 +926,7 @@ singleipconnect(struct connectdata *conn,
CURLSOCKTYPE_IPCXN);
if(error) {
sclose(sockfd); /* close the socket and bail out */
- return res;
+ return CURLE_ABORTED_BY_CALLBACK;
}
}