From fb12af8319a84389a536ab2f3735daf3b24f11bd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 18 Dec 2014 16:22:14 +0000 Subject: -use const in peerstore callback --- src/peerstore/gnunet-service-peerstore.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/peerstore/gnunet-service-peerstore.c') diff --git a/src/peerstore/gnunet-service-peerstore.c b/src/peerstore/gnunet-service-peerstore.c index f8ec631b9..bdd93e63a 100644 --- a/src/peerstore/gnunet-service-peerstore.c +++ b/src/peerstore/gnunet-service-peerstore.c @@ -239,7 +239,9 @@ handle_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client) * @return #GNUNET_YES to continue iteration */ static int -record_iterator (void *cls, struct GNUNET_PEERSTORE_Record *record, char *emsg) +record_iterator (void *cls, + const struct GNUNET_PEERSTORE_Record *record, + const char *emsg) { struct GNUNET_PEERSTORE_Record *cls_record = cls; struct StoreRecordMessage *srm; @@ -410,7 +412,7 @@ handle_iterate (void *cls, struct GNUNET_SERVER_Client *client, /** - * Continuation of store_record called by the peerstore plugin + * Continuation of store_record called by the peerstore plugin * * @param cls closure * @param success result -- cgit v1.2.3