aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 20:25:37 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 20:25:37 +0200
commitaa78134a557079ce570345e751e4c36c4b2ba79a (patch)
treef7bf25950513285184e2426109235337d0aef8be /src/namestore
parent1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff)
downloadgnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz
gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip
-fix many more typos
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c2
-rw-r--r--src/namestore/gnunet-service-namestore.c14
-rw-r--r--src/namestore/namestore_api.c6
-rw-r--r--src/namestore/perf_namestore_api_zone_iteration.c2
-rw-r--r--src/namestore/plugin_namestore_flat.c2
5 files changed, 14 insertions, 12 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c
index 6d794746e..313aea6fc 100644
--- a/src/namestore/gnunet-namestore-fcfsd.c
+++ b/src/namestore/gnunet-namestore-fcfsd.c
@@ -194,7 +194,7 @@ struct ZoneinfoRequest
194}; 194};
195 195
196/** 196/**
197 * MHD deamon reference. 197 * MHD daemon reference.
198 */ 198 */
199static struct MHD_Daemon *httpd; 199static struct MHD_Daemon *httpd;
200 200
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index 79210939f..cd953492e 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -88,13 +88,13 @@ struct ZoneIteration
88 * Last sequence number in the zone iteration used to address next 88 * Last sequence number in the zone iteration used to address next
89 * result of the zone iteration in the store 89 * result of the zone iteration in the store
90 * 90 *
91 * Initialy set to 0. 91 * Initially set to 0.
92 * Updated in #zone_iterate_proc() 92 * Updated in #zone_iterate_proc()
93 */ 93 */
94 uint64_t seq; 94 uint64_t seq;
95 95
96 /** 96 /**
97 * The operation id fot the zone iteration in the response for the client 97 * The operation id for the zone iteration in the response for the client
98 */ 98 */
99 uint32_t request_id; 99 uint32_t request_id;
100 100
@@ -102,7 +102,7 @@ struct ZoneIteration
102 * Offset of the zone iteration used to address next result of the zone 102 * Offset of the zone iteration used to address next result of the zone
103 * iteration in the store 103 * iteration in the store
104 * 104 *
105 * Initialy set to 0 in #handle_iteration_start 105 * Initially set to 0 in #handle_iteration_start
106 * Incremented with by every call to #handle_iteration_next 106 * Incremented with by every call to #handle_iteration_next
107 */ 107 */
108 uint32_t offset; 108 uint32_t offset;
@@ -195,7 +195,7 @@ struct ZoneMonitor
195 * Last sequence number in the zone iteration used to address next 195 * Last sequence number in the zone iteration used to address next
196 * result of the zone iteration in the store 196 * result of the zone iteration in the store
197 * 197 *
198 * Initialy set to 0. 198 * Initially set to 0.
199 * Updated in #monitor_iterate_cb() 199 * Updated in #monitor_iterate_cb()
200 */ 200 */
201 uint64_t seq; 201 uint64_t seq;
@@ -1821,7 +1821,8 @@ run_zone_iteration_round (struct ZoneIteration *zi, uint64_t limit)
1821 start = GNUNET_TIME_absolute_get (); 1821 start = GNUNET_TIME_absolute_get ();
1822 GNUNET_break (GNUNET_SYSERR != 1822 GNUNET_break (GNUNET_SYSERR !=
1823 GSN_database->iterate_records (GSN_database->cls, 1823 GSN_database->iterate_records (GSN_database->cls,
1824 (GNUNET_YES == GNUNET_is_zero (&zi->zone)) 1824 (GNUNET_YES == GNUNET_is_zero (
1825 &zi->zone))
1825 ? NULL 1826 ? NULL
1826 : &zi->zone, 1827 : &zi->zone,
1827 zi->seq, 1828 zi->seq,
@@ -2095,7 +2096,8 @@ monitor_iteration_next (void *cls)
2095 else 2096 else
2096 zm->iteration_cnt = zm->limit; /* use it all */ 2097 zm->iteration_cnt = zm->limit; /* use it all */
2097 ret = GSN_database->iterate_records (GSN_database->cls, 2098 ret = GSN_database->iterate_records (GSN_database->cls,
2098 (GNUNET_YES == GNUNET_is_zero (&zm->zone)) 2099 (GNUNET_YES == GNUNET_is_zero (
2100 &zm->zone))
2099 ? NULL 2101 ? NULL
2100 : &zm->zone, 2102 : &zm->zone,
2101 zm->seq, 2103 zm->seq,
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index 2d5327e06..b24db9b26 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -324,7 +324,7 @@ free_ze (struct GNUNET_NAMESTORE_ZoneIterator *ze)
324 324
325 325
326/** 326/**
327 * Check that @a rd_buf of lenght @a rd_len contains 327 * Check that @a rd_buf of length @a rd_len contains
328 * @a rd_count records. 328 * @a rd_count records.
329 * 329 *
330 * @param rd_len length of @a rd_buf 330 * @param rd_len length of @a rd_buf
@@ -557,7 +557,7 @@ handle_record_result (void *cls, const struct RecordResultMessage *msg)
557 return; /* rid not found */ 557 return; /* rid not found */
558 if ((NULL != ze) && (NULL != qe)) 558 if ((NULL != ze) && (NULL != qe))
559 { 559 {
560 GNUNET_break (0); /* rid ambigous */ 560 GNUNET_break (0); /* rid ambiguous */
561 force_reconnect (h); 561 force_reconnect (h);
562 return; 562 return;
563 } 563 }
@@ -614,7 +614,7 @@ handle_record_result_end (void *cls, const struct GNUNET_NAMESTORE_Header *msg)
614 return; /* rid not found */ 614 return; /* rid not found */
615 if ((NULL != ze) && (NULL != qe)) 615 if ((NULL != ze) && (NULL != qe))
616 { 616 {
617 GNUNET_break (0); /* rid ambigous */ 617 GNUNET_break (0); /* rid ambiguous */
618 force_reconnect (h); 618 force_reconnect (h);
619 return; 619 return;
620 } 620 }
diff --git a/src/namestore/perf_namestore_api_zone_iteration.c b/src/namestore/perf_namestore_api_zone_iteration.c
index f46a1c523..ce1cddf87 100644
--- a/src/namestore/perf_namestore_api_zone_iteration.c
+++ b/src/namestore/perf_namestore_api_zone_iteration.c
@@ -248,7 +248,7 @@ zone_proc (void *cls,
248 off++; 248 off++;
249 left_until_next--; 249 left_until_next--;
250 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 250 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
251 "Obtained record %u, expecting %u more until asking for mor explicitly\n", 251 "Obtained record %u, expecting %u more until asking for more explicitly\n",
252 off, 252 off,
253 left_until_next); 253 left_until_next);
254 if (0 == left_until_next) 254 if (0 == left_until_next)
diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c
index 9ccc90cfd..3576b14e0 100644
--- a/src/namestore/plugin_namestore_flat.c
+++ b/src/namestore/plugin_namestore_flat.c
@@ -57,7 +57,7 @@ struct FlatFileEntry
57 struct GNUNET_IDENTITY_PrivateKey private_key; 57 struct GNUNET_IDENTITY_PrivateKey private_key;
58 58
59 /** 59 /**
60 * Record cound 60 * Record count.
61 */ 61 */
62 uint32_t record_count; 62 uint32_t record_count;
63 63