aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
880 */ 880 */
881static void 881static void
882identity_intercept_cb (void *cls, 882identity_intercept_cb (void *cls,
883 struct GNUNET_IDENTITY_Ego *ego, 883 struct GNUNET_IDENTITY_Ego *ego,
884 void **ctx, 884 void **ctx,
885 const char *name) 885 const char *name)
886{ 886{
887 const struct GNUNET_CONFIGURATION_Handle *cfg = cls; 887 const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
888 struct GNUNET_CRYPTO_EcdsaPublicKey dns_root; 888 struct GNUNET_CRYPTO_EcdsaPublicKey dns_root;
@@ -897,8 +897,6 @@ identity_intercept_cb (void *cls,
897 } 897 }
898 GNUNET_IDENTITY_ego_get_public_key (ego, 898 GNUNET_IDENTITY_ego_get_public_key (ego,
899 &dns_root); 899 &dns_root);
900 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
901 "DNS hijacking enabled. Connecting to DNS service.\n");
902 if (GNUNET_SYSERR == 900 if (GNUNET_SYSERR ==
903 GNS_interceptor_init (&dns_root, cfg)) 901 GNS_interceptor_init (&dns_root, cfg))
904 { 902 {
@@ -990,6 +988,8 @@ run (void *cls,
990 } 988 }
991 else 989 else
992 { 990 {
991 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
992 "Looking for gns-intercept ego\n");
993 identity_op = GNUNET_IDENTITY_get (identity_handle, 993 identity_op = GNUNET_IDENTITY_get (identity_handle,
994 "gns-intercept", 994 "gns-intercept",
995 &identity_intercept_cb, 995 &identity_intercept_cb,