aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r--src/gns/gnunet-gns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c
index fa0a99590..d3b61d510 100644
--- a/src/gns/gnunet-gns.c
+++ b/src/gns/gnunet-gns.c
@@ -62,7 +62,7 @@ static int raw;
62/** 62/**
63 * Requested record type. 63 * Requested record type.
64 */ 64 */
65static enum GNUNET_GNS_RecordType rtype; 65static int rtype;
66 66
67/** 67/**
68 * Handle to lookup request 68 * Handle to lookup request
@@ -291,7 +291,7 @@ run (void *cls, char *const *args, const char *cfgfile,
291 if (NULL != lookup_type) 291 if (NULL != lookup_type)
292 rtype = GNUNET_NAMESTORE_typename_to_number (lookup_type); 292 rtype = GNUNET_NAMESTORE_typename_to_number (lookup_type);
293 else 293 else
294 rtype = GNUNET_GNS_RECORD_A; 294 rtype = GNUNET_DNSPARSER_TYPE_A;
295 295
296 if ( (NULL != shorten_name) && 296 if ( (NULL != shorten_name) &&
297 (NULL != shorten_zone) && 297 (NULL != shorten_zone) &&