aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/unit1620.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/unit1620.c b/tests/unit/unit1620.c
index c6aa721cf..6e572c648 100644
--- a/tests/unit/unit1620.c
+++ b/tests/unit/unit1620.c
@@ -46,6 +46,8 @@ UNITTEST_START
bool protocol_connect = FALSE;
rc = Curl_open(&empty);
+ if(rc)
+ goto unit_test_abort;
fail_unless(rc == CURLE_OK, "Curl_open() failed");
rc = Curl_connect(empty, &async, &protocol_connect);