From: Florian Dold Date: Tue, 28 Feb 2017 12:19:56 +0000 (+0100) Subject: logging X-Git-Tag: taler-0.2.1~8^2~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=62722a6898c5e0420893140326edcb64ebd1ea99;p=oweals%2Fgnunet.git logging --- 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;