aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib501.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib501.c')
-rw-r--r--tests/libtest/lib501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib501.c b/tests/libtest/lib501.c
index a4d78159d..cf2d95724 100644
--- a/tests/libtest/lib501.c
+++ b/tests/libtest/lib501.c
@@ -28,7 +28,7 @@ int test(char *URL)
return TEST_ERR_MAJOR_BAD;
}
- curl_easy_setopt(curl, CURLOPT_HEADER, TRUE);
+ curl_easy_setopt(curl, CURLOPT_HEADER, 1L);
res = curl_easy_perform(curl);