diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-13 19:01:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-13 19:01:30 +0200 |
commit | 787ad33cb683431e22a236b890f0e349e1d3f8fb (patch) | |
tree | 724471db8644db22270942dd7a84a48ff124960c /src/gnsrecord | |
parent | fb77da9477657e2dc077595da2b2a38c52d2123e (diff) | |
download | gnunet-787ad33cb683431e22a236b890f0e349e1d3f8fb.tar.gz gnunet-787ad33cb683431e22a236b890f0e349e1d3f8fb.zip |
truly use all DNS results for NS lookup
Diffstat (limited to 'src/gnsrecord')
-rw-r--r-- | src/gnsrecord/gnsrecord.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gnsrecord/gnsrecord.c b/src/gnsrecord/gnsrecord.c index 35005b5ca..8fc039fc6 100644 --- a/src/gnsrecord/gnsrecord.c +++ b/src/gnsrecord/gnsrecord.c | |||
@@ -207,7 +207,6 @@ GNUNET_GNSRECORD_string_to_value (uint32_t type, | |||
207 | uint32_t | 207 | uint32_t |
208 | GNUNET_GNSRECORD_typename_to_number (const char *dns_typename) | 208 | GNUNET_GNSRECORD_typename_to_number (const char *dns_typename) |
209 | { | 209 | { |
210 | unsigned int i; | ||
211 | struct Plugin *plugin; | 210 | struct Plugin *plugin; |
212 | uint32_t ret; | 211 | uint32_t ret; |
213 | 212 | ||
@@ -215,7 +214,7 @@ GNUNET_GNSRECORD_typename_to_number (const char *dns_typename) | |||
215 | "ANY")) | 214 | "ANY")) |
216 | return GNUNET_GNSRECORD_TYPE_ANY; | 215 | return GNUNET_GNSRECORD_TYPE_ANY; |
217 | init (); | 216 | init (); |
218 | for (i = 0; i < num_plugins; i++) | 217 | for (unsigned int i = 0; i < num_plugins; i++) |
219 | { | 218 | { |
220 | plugin = gns_plugins[i]; | 219 | plugin = gns_plugins[i]; |
221 | if (UINT32_MAX != (ret = plugin->api->typename_to_number (plugin->api->cls, | 220 | if (UINT32_MAX != (ret = plugin->api->typename_to_number (plugin->api->cls, |