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/util/resolver_api.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/util/resolver_api.c')
-rw-r--r-- | src/util/resolver_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c index 0c915932c..e7bba3000 100644 --- a/src/util/resolver_api.c +++ b/src/util/resolver_api.c | |||
@@ -821,6 +821,7 @@ handle_lookup_timeout (void *cls) | |||
821 | } | 821 | } |
822 | else | 822 | else |
823 | { | 823 | { |
824 | #if !defined(GNUNET_CULL_LOGGING) | ||
824 | char buf[INET6_ADDRSTRLEN]; | 825 | char buf[INET6_ADDRSTRLEN]; |
825 | 826 | ||
826 | LOG (GNUNET_ERROR_TYPE_INFO, | 827 | LOG (GNUNET_ERROR_TYPE_INFO, |
@@ -829,6 +830,7 @@ handle_lookup_timeout (void *cls) | |||
829 | (const void *) &rh[1], | 830 | (const void *) &rh[1], |
830 | buf, | 831 | buf, |
831 | sizeof(buf))); | 832 | sizeof(buf))); |
833 | #endif | ||
832 | if (GNUNET_NO == rh->received_response) | 834 | if (GNUNET_NO == rh->received_response) |
833 | { | 835 | { |
834 | char *nret; | 836 | char *nret; |