From 5b1a20db208f089a720c814b5551a56a8f7bdf89 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 May 2015 11:17:32 +0000 Subject: -fix logging --- src/gns/gnunet-service-gns.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index e94614328..7c8713b68 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c @@ -880,9 +880,9 @@ monitor_sync_event (void *cls) */ static void identity_intercept_cb (void *cls, - struct GNUNET_IDENTITY_Ego *ego, - void **ctx, - const char *name) + struct GNUNET_IDENTITY_Ego *ego, + void **ctx, + const char *name) { const struct GNUNET_CONFIGURATION_Handle *cfg = cls; struct GNUNET_CRYPTO_EcdsaPublicKey dns_root; @@ -897,8 +897,6 @@ identity_intercept_cb (void *cls, } GNUNET_IDENTITY_ego_get_public_key (ego, &dns_root); - GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "DNS hijacking enabled. Connecting to DNS service.\n"); if (GNUNET_SYSERR == GNS_interceptor_init (&dns_root, cfg)) { @@ -990,6 +988,8 @@ run (void *cls, } else { + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Looking for gns-intercept ego\n"); identity_op = GNUNET_IDENTITY_get (identity_handle, "gns-intercept", &identity_intercept_cb, -- cgit v1.2.3