aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 9bd1bdfbd..6babb9f42 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -457,6 +457,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
/* we are connected, awesome! */
break;
}
+ failf(data, "socket error: %d", err);
/* we are _not_ connected, it was a false alert, continue please */
}