From 25d8a8a26626bf3cf80a85c1ad843e3a6dcf1c8a Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Tue, 31 Aug 2021 16:09:03 +0200 Subject: Flip the value of GNUNET_EXTRA_LOGGING given when it's undefined This change has an impact only on those programs where gnunet_config,h is *not* included. GNUnet's configure script always defines this macro with an appropriate value, so it will never use this hardcoded value. By giving it a non-zero value, applications can now make use of the full logging capabilities provided by GNUnet. --- src/include/gnunet_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 3cff9f482..3ee2a070a 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -135,7 +135,7 @@ enum GNUNET_GenericReturnValue * tree where gnunet_config.h is unavailable */ #ifndef GNUNET_EXTRA_LOGGING -#define GNUNET_EXTRA_LOGGING 0 +#define GNUNET_EXTRA_LOGGING 1 #endif /** -- cgit v1.2.3