diff options
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index 6772844b8..736fb8af2 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c | |||
@@ -157,10 +157,10 @@ process_lookup_result (void *cls, uint32_t rd_count, | |||
157 | for (i=0; i<rd_count; i++) | 157 | for (i=0; i<rd_count; i++) |
158 | { | 158 | { |
159 | if ( (rd[i].record_type != rtype) && | 159 | if ( (rd[i].record_type != rtype) && |
160 | (GNUNET_NAMESTORE_TYPE_ANY != rtype) ) | 160 | (GNUNET_GNSRECORD_TYPE_ANY != rtype) ) |
161 | continue; | 161 | continue; |
162 | typename = GNUNET_NAMESTORE_number_to_typename (rd[i].record_type); | 162 | typename = GNUNET_GNSRECORD_number_to_typename (rd[i].record_type); |
163 | string_val = GNUNET_NAMESTORE_value_to_string (rd[i].record_type, | 163 | string_val = GNUNET_GNSRECORD_value_to_string (rd[i].record_type, |
164 | rd[i].data, | 164 | rd[i].data, |
165 | rd[i].data_size); | 165 | rd[i].data_size); |
166 | if (NULL == string_val) | 166 | if (NULL == string_val) |
@@ -196,7 +196,7 @@ lookup_with_keys (const struct GNUNET_CRYPTO_EcdsaPublicKey *pkey, | |||
196 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_key) | 196 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_key) |
197 | { | 197 | { |
198 | if (NULL != lookup_type) | 198 | if (NULL != lookup_type) |
199 | rtype = GNUNET_NAMESTORE_typename_to_number (lookup_type); | 199 | rtype = GNUNET_GNSRECORD_typename_to_number (lookup_type); |
200 | else | 200 | else |
201 | rtype = GNUNET_DNSPARSER_TYPE_A; | 201 | rtype = GNUNET_DNSPARSER_TYPE_A; |
202 | 202 | ||