diff options
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_specific_zone.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_specific_zone.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c index 0b137cc62..a86184297 100644 --- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c +++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c | |||
@@ -26,6 +26,9 @@ | |||
26 | #include "gnunet_namestore_service.h" | 26 | #include "gnunet_namestore_service.h" |
27 | #include "gnunet_testing_lib.h" | 27 | #include "gnunet_testing_lib.h" |
28 | #include "namestore.h" | 28 | #include "namestore.h" |
29 | #include "gnunet_dnsparser_lib.h" | ||
30 | |||
31 | #define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT | ||
29 | 32 | ||
30 | 33 | ||
31 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) | 34 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) |
@@ -299,7 +302,7 @@ create_record (unsigned int count) | |||
299 | for (unsigned int c = 0; c < count; c++) | 302 | for (unsigned int c = 0; c < count; c++) |
300 | { | 303 | { |
301 | rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us; | 304 | rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us; |
302 | rd[c].record_type = 1111; | 305 | rd[c].record_type = TEST_RECORD_TYPE; |
303 | rd[c].data_size = 50; | 306 | rd[c].data_size = 50; |
304 | rd[c].data = GNUNET_malloc(50); | 307 | rd[c].data = GNUNET_malloc(50); |
305 | rd[c].flags = 0; | 308 | rd[c].flags = 0; |