aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration_nick.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_nick.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_nick.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_nick.c b/src/namestore/test_namestore_api_zone_iteration_nick.c
index d950b7e69..ff1b3d402 100644
--- a/src/namestore/test_namestore_api_zone_iteration_nick.c
+++ b/src/namestore/test_namestore_api_zone_iteration_nick.c
@@ -25,6 +25,9 @@
25#include "gnunet_namestore_service.h" 25#include "gnunet_namestore_service.h"
26#include "gnunet_testing_lib.h" 26#include "gnunet_testing_lib.h"
27#include "namestore.h" 27#include "namestore.h"
28#include "gnunet_dnsparser_lib.h"
29
30#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT
28 31
29#define ZONE_NICK_1 "nick1" 32#define ZONE_NICK_1 "nick1"
30#define ZONE_NICK_2 "nick2" 33#define ZONE_NICK_2 "nick2"
@@ -322,7 +325,7 @@ create_record (unsigned int count)
322 for (unsigned int c = 0; c < count; c++) 325 for (unsigned int c = 0; c < count; c++)
323 { 326 {
324 rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us; 327 rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us;
325 rd[c].record_type = 1111; 328 rd[c].record_type = TEST_RECORD_TYPE;
326 rd[c].data_size = 50; 329 rd[c].data_size = 50;
327 rd[c].data = GNUNET_malloc(50); 330 rd[c].data = GNUNET_malloc(50);
328 rd[c].flags = 0; 331 rd[c].flags = 0;