From 62722a6898c5e0420893140326edcb64ebd1ea99 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 28 Feb 2017 13:19:56 +0100 Subject: [PATCH] logging --- src/set/gnunet-service-set_union.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index c69aa2a9c..b8e210f54 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c @@ -1560,6 +1560,10 @@ handle_p2p_full_element (void *cls, (op->state->received_fresh < op->state->received_total / 3) ) { /* The other peer gave us lots of old elements, there's something wrong. */ + LOG (GNUNET_ERROR_TYPE_ERROR, + "Other peer sent only %llu/%llu fresh elements, failing operation\n", + (unsigned long long) op->state->received_fresh, + (unsigned long long) op->state->received_total); GNUNET_break_op (0); fail_union_operation (op); return; -- 2.25.1