summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-26 11:17:32 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-26 11:17:32 +0000
commit5b1a20db208f089a720c814b5551a56a8f7bdf89 (patch)
treefd242f77232d2497e81e9ec5ab37cb1a85e0abfc
parent19be7d22a463bcee439a498a3135a9ac1796993f (diff)
-fix logging
-rw-r--r--src/gns/gnunet-service-gns.c10
1 files 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,