aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-13 17:10:07 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-13 17:10:07 +0000
commitbfbbb1e8700093783da55c84221fc688eee4c9a0 (patch)
tree83693440965fff521bc21af1debf963b95d77471 /src/gns/gnunet-service-gns.c
parentee32003b7e606767f9b89715cb956d863fe067d9 (diff)
downloadgnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.tar.gz
gnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.zip
-getting rid of duplication of record type values / enum GNUNET_GNS_RecordType
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r--src/gns/gnunet-service-gns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c
index 1bd6d33d1..e1fc507fb 100644
--- a/src/gns/gnunet-service-gns.c
+++ b/src/gns/gnunet-service-gns.c
@@ -110,7 +110,7 @@ struct ClientShortenHandle
110 /** 110 /**
111 * request type 111 * request type
112 */ 112 */
113 enum GNUNET_GNS_RecordType type; 113 int type;
114 114
115 /** 115 /**
116 * name to shorten 116 * name to shorten
@@ -192,7 +192,7 @@ struct ClientLookupHandle
192 /** 192 /**
193 * request type 193 * request type
194 */ 194 */
195 enum GNUNET_GNS_RecordType type; 195 int type;
196}; 196};
197 197
198 198
@@ -1129,7 +1129,7 @@ handle_lookup (void *cls,
1129 return; 1129 return;
1130 } 1130 }
1131 1131
1132 if ((GNUNET_GNS_RECORD_A == clh->type) && 1132 if ((GNUNET_DNSPARSER_TYPE_A == clh->type) &&
1133 (GNUNET_OK != v4_enabled)) 1133 (GNUNET_OK != v4_enabled))
1134 { 1134 {
1135 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, 1135 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG,
@@ -1139,7 +1139,7 @@ handle_lookup (void *cls,
1139 return; 1139 return;
1140 } 1140 }
1141 1141
1142 if ((GNUNET_GNS_RECORD_AAAA == clh->type) && 1142 if ((GNUNET_DNSPARSER_TYPE_AAAA == clh->type) &&
1143 (GNUNET_OK != v6_enabled)) 1143 (GNUNET_OK != v6_enabled))
1144 { 1144 {
1145 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1145 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,