aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/gnunet-service-peerstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerstore/gnunet-service-peerstore.c')
-rw-r--r--src/peerstore/gnunet-service-peerstore.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/peerstore/gnunet-service-peerstore.c b/src/peerstore/gnunet-service-peerstore.c
index 048201c77..af6438bb2 100644
--- a/src/peerstore/gnunet-service-peerstore.c
+++ b/src/peerstore/gnunet-service-peerstore.c
@@ -251,7 +251,7 @@ handle_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client)
251 * @param emsg error message or NULL if no errors 251 * @param emsg error message or NULL if no errors
252 * @return #GNUNET_YES to continue iteration 252 * @return #GNUNET_YES to continue iteration
253 */ 253 */
254static int 254static void
255record_iterator (void *cls, const struct GNUNET_PEERSTORE_Record *record, 255record_iterator (void *cls, const struct GNUNET_PEERSTORE_Record *record,
256 const char *emsg) 256 const char *emsg)
257{ 257{
@@ -270,7 +270,7 @@ record_iterator (void *cls, const struct GNUNET_PEERSTORE_Record *record,
270 GNUNET_SERVER_receive_done (cls_record->client, 270 GNUNET_SERVER_receive_done (cls_record->client,
271 NULL == emsg ? GNUNET_OK : GNUNET_SYSERR); 271 NULL == emsg ? GNUNET_OK : GNUNET_SYSERR);
272 PEERSTORE_destroy_record (cls_record); 272 PEERSTORE_destroy_record (cls_record);
273 return GNUNET_NO; 273 return;
274 } 274 }
275 275
276 srm = 276 srm =
@@ -282,7 +282,6 @@ record_iterator (void *cls, const struct GNUNET_PEERSTORE_Record *record,
282 (struct GNUNET_MessageHeader *) 282 (struct GNUNET_MessageHeader *)
283 srm, GNUNET_NO); 283 srm, GNUNET_NO);
284 GNUNET_free (srm); 284 GNUNET_free (srm);
285 return GNUNET_YES;
286} 285}
287 286
288 287