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_simple_zkey_lookup.c | |
parent | 3d4e4063c5358975976ba6c060ab0e3ba2357e0b (diff) | |
download | gnunet-674e485bc34defc68cf1a8b4909cec9a4c5040d9.tar.gz gnunet-674e485bc34defc68cf1a8b4909cec9a4c5040d9.zip |
-fix inconsisten record naming
Diffstat (limited to 'src/gns/test_gns_simple_zkey_lookup.c')
-rw-r--r-- | src/gns/test_gns_simple_zkey_lookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c index 19dbc6a9b..136b3b7db 100644 --- a/src/gns/test_gns_simple_zkey_lookup.c +++ b/src/gns/test_gns_simple_zkey_lookup.c | |||
@@ -111,7 +111,7 @@ on_lookup_result(void *cls, uint32_t rd_count, | |||
111 | for (i=0; i<rd_count; i++) | 111 | for (i=0; i<rd_count; i++) |
112 | { | 112 | { |
113 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "type: %d\n", rd[i].record_type); | 113 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "type: %d\n", rd[i].record_type); |
114 | if (rd[i].record_type == GNUNET_GNS_RECORD_TYPE_A) | 114 | if (rd[i].record_type == GNUNET_GNS_RECORD_A) |
115 | { | 115 | { |
116 | memcpy(&a, rd[i].data, sizeof(a)); | 116 | memcpy(&a, rd[i].data, sizeof(a)); |
117 | addr = inet_ntoa(a); | 117 | addr = inet_ntoa(a); |
@@ -167,7 +167,7 @@ commence_testing (void *cls, int32_t success, const char *emsg) | |||
167 | pos++; | 167 | pos++; |
168 | strcpy(pos, GNUNET_GNS_TLD_ZKEY); | 168 | strcpy(pos, GNUNET_GNS_TLD_ZKEY); |
169 | 169 | ||
170 | GNUNET_GNS_lookup(gns_handle, name, GNUNET_GNS_RECORD_TYPE_A, | 170 | GNUNET_GNS_lookup(gns_handle, name, GNUNET_GNS_RECORD_A, |
171 | GNUNET_NO, | 171 | GNUNET_NO, |
172 | NULL, | 172 | NULL, |
173 | &on_lookup_result, NULL); | 173 | &on_lookup_result, NULL); |