diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-13 17:10:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-13 17:10:07 +0000 |
commit | bfbbb1e8700093783da55c84221fc688eee4c9a0 (patch) | |
tree | 83693440965fff521bc21af1debf963b95d77471 /src/gns/gnunet-gns.c | |
parent | ee32003b7e606767f9b89715cb956d863fe067d9 (diff) | |
download | gnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.tar.gz gnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.zip |
-getting rid of duplication of record type values / enum GNUNET_GNS_RecordType
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 4 |
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 | */ |
65 | static enum GNUNET_GNS_RecordType rtype; | 65 | static 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) && |