diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
commit | aa78134a557079ce570345e751e4c36c4b2ba79a (patch) | |
tree | f7bf25950513285184e2426109235337d0aef8be /src/namestore/gnunet-service-namestore.c | |
parent | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff) | |
download | gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip |
-fix many more typos
Diffstat (limited to 'src/namestore/gnunet-service-namestore.c')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 14 |
1 files changed, 8 insertions, 6 deletions
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, |