diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-04 19:37:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-04 19:37:05 +0000 |
commit | 03cd2a43b97d5514b237261607a3f09aab4f250b (patch) | |
tree | 21a72501c16615b752f01d94dbc6522973424745 /src/gns/gnunet-service-gns.c | |
parent | 0f271cc42ea9e3029219fbb3a02862beacc08afa (diff) | |
download | gnunet-03cd2a43b97d5514b237261607a3f09aab4f250b.tar.gz gnunet-03cd2a43b97d5514b237261607a3f09aab4f250b.zip |
-fix align
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index ccb1b8e3d..5ce089080 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c | |||
@@ -1142,7 +1142,7 @@ handle_lookup (void *cls, | |||
1142 | } | 1142 | } |
1143 | 1143 | ||
1144 | if (1 == ntohl (sh_msg->use_default_zone)) | 1144 | if (1 == ntohl (sh_msg->use_default_zone)) |
1145 | clh->zone = zone_hash; //Default zone | 1145 | clh->zone = zone_hash; /* Default zone */ |
1146 | else | 1146 | else |
1147 | clh->zone = sh_msg->zone; | 1147 | clh->zone = sh_msg->zone; |
1148 | 1148 | ||
@@ -1293,13 +1293,14 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
1293 | if (GNUNET_YES == | 1293 | if (GNUNET_YES == |
1294 | GNUNET_CONFIGURATION_get_value_yesno (c, "gns", "HIJACK_DNS")) | 1294 | GNUNET_CONFIGURATION_get_value_yesno (c, "gns", "HIJACK_DNS")) |
1295 | { | 1295 | { |
1296 | GNUNET_log(GNUNET_ERROR_TYPE_INFO, | 1296 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1297 | "DNS hijacking enabled... connecting to service.\n"); | 1297 | "DNS hijacking enabled. Connecting to DNS service.\n"); |
1298 | 1298 | ||
1299 | if (gns_interceptor_init(zone_hash, zone_key, c) == GNUNET_SYSERR) | 1299 | if (GNUNET_SYSERR == |
1300 | gns_interceptor_init (zone_hash, zone_key, c)) | ||
1300 | { | 1301 | { |
1301 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, | 1302 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, |
1302 | "Failed to enable the dns interceptor!\n"); | 1303 | "Failed to enable the DNS interceptor!\n"); |
1303 | } | 1304 | } |
1304 | } | 1305 | } |
1305 | 1306 | ||