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/test_gns_simple_shorten.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/test_gns_simple_shorten.c')
-rw-r--r-- | src/gns/test_gns_simple_shorten.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_shorten.c b/src/gns/test_gns_simple_shorten.c index 679a74dc8..ab8129254 100644 --- a/src/gns/test_gns_simple_shorten.c +++ b/src/gns/test_gns_simple_shorten.c | |||
@@ -256,7 +256,7 @@ void do_check (void *cls, | |||
256 | 256 | ||
257 | rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); | 257 | rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); |
258 | rd.data = &bob_hash; | 258 | rd.data = &bob_hash; |
259 | rd.record_type = GNUNET_GNS_RECORD_PKEY; | 259 | rd.record_type = GNUNET_NAMESTORE_TYPE_PKEY; |
260 | rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY; | 260 | rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY; |
261 | 261 | ||
262 | /* put bob into our zone */ | 262 | /* put bob into our zone */ |
@@ -308,7 +308,7 @@ void do_check (void *cls, | |||
308 | 308 | ||
309 | rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); | 309 | rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); |
310 | rd.data = &alice_hash; | 310 | rd.data = &alice_hash; |
311 | rd.record_type = GNUNET_GNS_RECORD_PKEY; | 311 | rd.record_type = GNUNET_NAMESTORE_TYPE_PKEY; |
312 | GNUNET_free(sig); | 312 | GNUNET_free(sig); |
313 | 313 | ||
314 | GNUNET_NAMESTORE_record_put_by_authority (namestore_handle, | 314 | GNUNET_NAMESTORE_record_put_by_authority (namestore_handle, |