diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-29 09:45:43 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-29 09:45:43 +0000 |
commit | 674e485bc34defc68cf1a8b4909cec9a4c5040d9 (patch) | |
tree | 7c1cda274c68879d1e5cdadc4c5f27c52299880a /src/gns/test_gns_revocation.c | |
parent | 3d4e4063c5358975976ba6c060ab0e3ba2357e0b (diff) | |
download | gnunet-674e485bc34defc68cf1a8b4909cec9a4c5040d9.tar.gz gnunet-674e485bc34defc68cf1a8b4909cec9a4c5040d9.zip |
-fix inconsisten record naming
Diffstat (limited to 'src/gns/test_gns_revocation.c')
-rw-r--r-- | src/gns/test_gns_revocation.c | 4 |
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); |