]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
easyoptions: provide debug function when DEBUGBUILD
authorDaniel Stenberg <daniel@haxx.se>
Fri, 28 Aug 2020 13:35:23 +0000 (15:35 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 28 Aug 2020 21:35:12 +0000 (23:35 +0200)
... not CURLDEBUG as they're not always set in conjunction.

Follow-up to 6ebe63fac23f38df

Fixes #5877
Closes #5878

lib/easyoptions.c
lib/easyoptions.h

index 586abfe52f988ed3ee3f48c17e198de24a9d3e08..3294c1d0be6fc2a47dedd529fa6a3e9cfc1d8b76 100644 (file)
@@ -334,7 +334,7 @@ struct curl_easyoption Curl_easyopts[] = {
   {NULL, 0, 0, 0} /* end of table */
 };
 
-#ifdef CURLDEBUG
+#ifdef DEBUGBUILD
 /*
  * Curl_easyopts_check() is a debug-only function that returns non-zero
  * if this source file is not in sync with the options listed in curl/curl.h
index 4b681a47ea2f1e5b860648f715e8acf137851d35..cd8b4100dc60deee2646b6c488b35b25db7f9b02 100644 (file)
@@ -29,7 +29,7 @@
 /* generated table with all easy options */
 extern struct curl_easyoption Curl_easyopts[];
 
-#ifdef CURLDEBUG
+#ifdef DEBUGBUILD
 int Curl_easyopts_check(void);
 #endif
 #endif