aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_revocation.c')
-rw-r--r--src/gns/test_gns_revocation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_revocation.c b/src/gns/test_gns_revocation.c
index 8f7451187..9382cd3d4 100644
--- a/src/gns/test_gns_revocation.c
+++ b/src/gns/test_gns_revocation.c
@@ -109,7 +109,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
109 for (i=0; i<rd_count; i++) 109 for (i=0; i<rd_count; i++)
110 { 110 {
111 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "type: %d\n", rd[i].record_type); 111 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "type: %d\n", rd[i].record_type);
112 if (rd[i].record_type == GNUNET_GNS_RECORD_TYPE_A) 112 if (rd[i].record_type == GNUNET_GNS_RECORD_A)
113 { 113 {
114 memcpy(&a, rd[i].data, sizeof(a)); 114 memcpy(&a, rd[i].data, sizeof(a));
115 addr = inet_ntoa(a); 115 addr = inet_ntoa(a);
@@ -149,7 +149,7 @@ commence_testing (void *cls, int32_t success, const char *emsg)
149 "Failed to connect to GNS!\n"); 149 "Failed to connect to GNS!\n");
150 } 150 }
151 151
152 GNUNET_GNS_lookup(gns_handle, TEST_DOMAIN, GNUNET_GNS_RECORD_TYPE_A, 152 GNUNET_GNS_lookup(gns_handle, TEST_DOMAIN, GNUNET_GNS_RECORD_A,
153 GNUNET_NO, 153 GNUNET_NO,
154 NULL, 154 NULL,
155 &on_lookup_result, TEST_DOMAIN); 155 &on_lookup_result, TEST_DOMAIN);