aboutsummaryrefslogtreecommitdiff
path: root/src/cli/namestore/gnunet-zoneimport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/namestore/gnunet-zoneimport.c')
-rw-r--r--src/cli/namestore/gnunet-zoneimport.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/cli/namestore/gnunet-zoneimport.c b/src/cli/namestore/gnunet-zoneimport.c
index 9e8185653..aaed808dd 100644
--- a/src/cli/namestore/gnunet-zoneimport.c
+++ b/src/cli/namestore/gnunet-zoneimport.c
@@ -22,7 +22,6 @@
22 * @brief import a DNS zone for publication in GNS, incremental 22 * @brief import a DNS zone for publication in GNS, incremental
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25#include "platform.h"
26#include <gnunet_util_lib.h> 25#include <gnunet_util_lib.h>
27#include <gnunet_gnsrecord_lib.h> 26#include <gnunet_gnsrecord_lib.h>
28#include <gnunet_namestore_service.h> 27#include <gnunet_namestore_service.h>
@@ -55,7 +54,7 @@
55 * How long do we wait at least between series of requests? 54 * How long do we wait at least between series of requests?
56 */ 55 */
57#define SERIES_DELAY \ 56#define SERIES_DELAY \
58 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 10) 57 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 10)
59 58
60/** 59/**
61 * How long do DNS records have to last at least after being imported? 60 * How long do DNS records have to last at least after being imported?
@@ -1160,13 +1159,13 @@ process_result (void *cls,
1160 rd[off++] = rec->grd; 1159 rd[off++] = rec->grd;
1161 pending_rs++; 1160 pending_rs++;
1162 req->op_start_time = GNUNET_TIME_absolute_get (); 1161 req->op_start_time = GNUNET_TIME_absolute_get ();
1163 req->qe = GNUNET_NAMESTORE_records_store (ns, 1162 req->qe = GNUNET_NAMESTORE_record_set_store (ns,
1164 &req->zone->key, 1163 &req->zone->key,
1165 get_label (req), 1164 get_label (req),
1166 rd_count, 1165 rd_count,
1167 rd, 1166 rd,
1168 &store_completed_cb, 1167 &store_completed_cb,
1169 req); 1168 req);
1170 GNUNET_assert (NULL != req->qe); 1169 GNUNET_assert (NULL != req->qe);
1171 } 1170 }
1172 insert_sorted (req); 1171 insert_sorted (req);