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/gnunet-service-resolver.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/gnunet-service-resolver.c')
-rw-r--r-- | src/util/gnunet-service-resolver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/gnunet-service-resolver.c b/src/util/gnunet-service-resolver.c index 12e484845..d26bdd212 100644 --- a/src/util/gnunet-service-resolver.c +++ b/src/util/gnunet-service-resolver.c | |||
@@ -666,6 +666,8 @@ handle_get (void *cls, | |||
666 | return; | 666 | return; |
667 | } | 667 | } |
668 | ip = &msg[1]; | 668 | ip = &msg[1]; |
669 | |||
670 | #if !defined(GNUNET_CULL_LOGGING) | ||
669 | { | 671 | { |
670 | char buf[INET6_ADDRSTRLEN]; | 672 | char buf[INET6_ADDRSTRLEN]; |
671 | 673 | ||
@@ -676,6 +678,7 @@ handle_get (void *cls, | |||
676 | buf, | 678 | buf, |
677 | sizeof (buf))); | 679 | sizeof (buf))); |
678 | } | 680 | } |
681 | #endif | ||
679 | get_ip_as_string (client, | 682 | get_ip_as_string (client, |
680 | af, | 683 | af, |
681 | ip); | 684 | ip); |