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_connection.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_connection.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 7b66f61a2..82ab5cc2c 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -1066,6 +1066,7 @@ void | |||
1066 | GCC_debug (struct CadetConnection *cc, | 1066 | GCC_debug (struct CadetConnection *cc, |
1067 | enum GNUNET_ErrorType level) | 1067 | enum GNUNET_ErrorType level) |
1068 | { | 1068 | { |
1069 | #if !defined(GNUNET_CULL_LOGGING) | ||
1069 | int do_log; | 1070 | int do_log; |
1070 | 1071 | ||
1071 | do_log = GNUNET_get_log_call_status (level & (~GNUNET_ERROR_TYPE_BULK), | 1072 | do_log = GNUNET_get_log_call_status (level & (~GNUNET_ERROR_TYPE_BULK), |
@@ -1086,6 +1087,7 @@ GCC_debug (struct CadetConnection *cc, | |||
1086 | GCPP_2s (cc->path), | 1087 | GCPP_2s (cc->path), |
1087 | cc->state, | 1088 | cc->state, |
1088 | (GNUNET_YES == cc->mqm_ready) ? "ready" : "busy"); | 1089 | (GNUNET_YES == cc->mqm_ready) ? "ready" : "busy"); |
1090 | #endif | ||
1089 | } | 1091 | } |
1090 | 1092 | ||
1091 | /* end of gnunet-service-cadet-new_connection.c */ | 1093 | /* end of gnunet-service-cadet_connection.c */ |