diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-29 15:02:31 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-29 15:02:31 +0200 |
commit | 24cbb7fda2486ee9d2ae8e145d6ff8fe19df92b0 (patch) | |
tree | 243f60886e42d6e0ab771aa8a08faeb508ea7489 /src/cadet/gnunet-service-cadet_channel.c | |
parent | 14b6de39c4316bb488d47dc07208a77dd0a85ef2 (diff) | |
download | gnunet-24cbb7fda2486ee9d2ae8e145d6ff8fe19df92b0.tar.gz gnunet-24cbb7fda2486ee9d2ae8e145d6ff8fe19df92b0.zip |
fix FTBFS issues if --enable-logging=no is set
Diffstat (limited to 'src/cadet/gnunet-service-cadet_channel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_channel.c b/src/cadet/gnunet-service-cadet_channel.c index 739b68228..1a2b32be0 100644 --- a/src/cadet/gnunet-service-cadet_channel.c +++ b/src/cadet/gnunet-service-cadet_channel.c | |||
@@ -2049,6 +2049,7 @@ void | |||
2049 | GCCH_debug (struct CadetChannel *ch, | 2049 | GCCH_debug (struct CadetChannel *ch, |
2050 | enum GNUNET_ErrorType level) | 2050 | enum GNUNET_ErrorType level) |
2051 | { | 2051 | { |
2052 | #if !defined(GNUNET_CULL_LOGGING) | ||
2052 | int do_log; | 2053 | int do_log; |
2053 | 2054 | ||
2054 | do_log = GNUNET_get_log_call_status (level & (~GNUNET_ERROR_TYPE_BULK), | 2055 | do_log = GNUNET_get_log_call_status (level & (~GNUNET_ERROR_TYPE_BULK), |
@@ -2088,6 +2089,7 @@ GCCH_debug (struct CadetChannel *ch, | |||
2088 | ntohl (ch->mid_recv.mid), | 2089 | ntohl (ch->mid_recv.mid), |
2089 | (unsigned long long) ch->mid_futures, | 2090 | (unsigned long long) ch->mid_futures, |
2090 | ntohl (ch->mid_send.mid)); | 2091 | ntohl (ch->mid_send.mid)); |
2092 | #endif | ||
2091 | } | 2093 | } |
2092 | 2094 | ||
2093 | 2095 | ||