summaryrefslogtreecommitdiff
path: root/tests/unit/unit1600.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1600.c')
-rw-r--r--tests/unit/unit1600.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unit1600.c b/tests/unit/unit1600.c
index f0f9cc1f..11d718d3 100644
--- a/tests/unit/unit1600.c
+++ b/tests/unit/unit1600.c
@@ -24,12 +24,12 @@
#include "urldata.h"
#include "curl_ntlm_core.h"
-CURL *easy;
+static CURL *easy;
static CURLcode unit_setup(void)
{
easy = curl_easy_init();
- return CURLE_OK;
+ return easy ? CURLE_OK : CURLE_OUT_OF_MEMORY;
}
static void unit_stop(void)