diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-26 11:17:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-26 11:17:32 +0000 |
commit | 5b1a20db208f089a720c814b5551a56a8f7bdf89 (patch) | |
tree | fd242f77232d2497e81e9ec5ab37cb1a85e0abfc /src/gns/gnunet-service-gns.c | |
parent | 19be7d22a463bcee439a498a3135a9ac1796993f (diff) | |
download | gnunet-5b1a20db208f089a720c814b5551a56a8f7bdf89.tar.gz gnunet-5b1a20db208f089a720c814b5551a56a8f7bdf89.zip |
-fix logging
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 10 |
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 | */ |
881 | static void | 881 | static void |
882 | identity_intercept_cb (void *cls, | 882 | identity_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, |