]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
unit1614: fix disabled-proxy build
authorDaniel Stenberg <daniel@haxx.se>
Mon, 24 Oct 2022 07:54:08 +0000 (09:54 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Oct 2022 09:58:03 +0000 (11:58 +0200)
Follow-up to 1e9a538e05c01

Closes #9792

tests/unit/unit1614.c

index d64f651c8f3cf6f6f33efb2e7343891e135e6fd0..60285450c3cc384c77d18b34d32f98a9de1df0df 100644 (file)
@@ -49,7 +49,7 @@ struct noproxy {
 };
 
 UNITTEST_START
-#ifdef DEBUGBUILD
+#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_PROXY)
 {
   int i;
   int err = 0;