diff options
Diffstat (limited to 'src/service/peerstore/peerstore_api.c')
-rw-r--r-- | src/service/peerstore/peerstore_api.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/service/peerstore/peerstore_api.c b/src/service/peerstore/peerstore_api.c index 2f43db3f5..feb5aeb3c 100644 --- a/src/service/peerstore/peerstore_api.c +++ b/src/service/peerstore/peerstore_api.c | |||
@@ -540,8 +540,8 @@ GNUNET_PEERSTORE_store (struct GNUNET_PEERSTORE_Handle *h, | |||
540 | struct GNUNET_PEERSTORE_StoreContext *sc; | 540 | struct GNUNET_PEERSTORE_StoreContext *sc; |
541 | 541 | ||
542 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 542 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
543 | "Storing value (size: %lu) for subsystem `%s', peer `%s', key `%s'\n", | 543 | "Storing value (size: %llu) for subsystem `%s', peer `%s', key `%s'\n", |
544 | size, | 544 | (unsigned long long) size, |
545 | sub_system, | 545 | sub_system, |
546 | GNUNET_i2s (peer), | 546 | GNUNET_i2s (peer), |
547 | key); | 547 | key); |
@@ -596,7 +596,7 @@ handle_store_result (void *cls, const struct PeerstoreResultMessage *msg) | |||
596 | if (NULL == sc) | 596 | if (NULL == sc) |
597 | { | 597 | { |
598 | LOG (GNUNET_ERROR_TYPE_WARNING, | 598 | LOG (GNUNET_ERROR_TYPE_WARNING, |
599 | _("Unexpected store response.\n")); | 599 | _ ("Unexpected store response.\n")); |
600 | return; | 600 | return; |
601 | } | 601 | } |
602 | if (NULL != sc->cont) | 602 | if (NULL != sc->cont) |
@@ -673,7 +673,8 @@ handle_iterate_result (void *cls, const struct StoreRecordMessage *msg) | |||
673 | if (NULL == ic) | 673 | if (NULL == ic) |
674 | { | 674 | { |
675 | LOG (GNUNET_ERROR_TYPE_WARNING, | 675 | LOG (GNUNET_ERROR_TYPE_WARNING, |
676 | _ ("Unexpected iteration response, no iterating client found, discarding message.\n")); | 676 | _ ( |
677 | "Unexpected iteration response, no iterating client found, discarding message.\n")); | ||
677 | return; | 678 | return; |
678 | } | 679 | } |
679 | if (NULL == ic->callback) | 680 | if (NULL == ic->callback) |
@@ -857,7 +858,7 @@ reconnect (void *cls) | |||
857 | for (struct GNUNET_PEERSTORE_IterateContext *ic = h->iterate_head; NULL != ic; | 858 | for (struct GNUNET_PEERSTORE_IterateContext *ic = h->iterate_head; NULL != ic; |
858 | ic = ic->next) | 859 | ic = ic->next) |
859 | { | 860 | { |
860 | ic->rid = get_op_id(h); | 861 | ic->rid = get_op_id (h); |
861 | ev = | 862 | ev = |
862 | PEERSTORE_create_record_mq_envelope (ic->rid, | 863 | PEERSTORE_create_record_mq_envelope (ic->rid, |
863 | ic->sub_system, | 864 | ic->sub_system, |
@@ -873,7 +874,7 @@ reconnect (void *cls) | |||
873 | for (struct GNUNET_PEERSTORE_StoreContext *sc = h->store_head; NULL != sc; | 874 | for (struct GNUNET_PEERSTORE_StoreContext *sc = h->store_head; NULL != sc; |
874 | sc = sc->next) | 875 | sc = sc->next) |
875 | { | 876 | { |
876 | sc->rid = get_op_id(h); | 877 | sc->rid = get_op_id (h); |
877 | ev = | 878 | ev = |
878 | PEERSTORE_create_record_mq_envelope (sc->rid, | 879 | PEERSTORE_create_record_mq_envelope (sc->rid, |
879 | sc->sub_system, | 880 | sc->sub_system, |