gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 51/411: easyoptions: provide debug function when DEBUGBUILD


From: gnunet
Subject: [gnurl] 51/411: easyoptions: provide debug function when DEBUGBUILD
Date: Wed, 13 Jan 2021 01:17:46 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 6e18568ba386ec82e422d238b4976673a8df2524
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Fri Aug 28 15:35:23 2020 +0200

    easyoptions: provide debug function when DEBUGBUILD
    
    ... not CURLDEBUG as they're not always set in conjunction.
    
    Follow-up to 6ebe63fac23f38df
    
    Fixes #5877
    Closes #5878
---
 lib/easyoptions.c | 2 +-
 lib/easyoptions.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/easyoptions.c b/lib/easyoptions.c
index 586abfe52..3294c1d0b 100644
--- a/lib/easyoptions.c
+++ b/lib/easyoptions.c
@@ -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
diff --git a/lib/easyoptions.h b/lib/easyoptions.h
index 4b681a47e..cd8b4100d 100644
--- a/lib/easyoptions.h
+++ b/lib/easyoptions.h
@@ -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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]