diff options
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, |