diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-28 13:19:56 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-28 13:19:56 +0100 |
commit | 62722a6898c5e0420893140326edcb64ebd1ea99 (patch) | |
tree | 3bff93eb9ae000f0629aa2b7e54f625b9e7bbbad | |
parent | ebb8d4e79c9ea21befad74973da051fa09efb0d0 (diff) | |
download | gnunet-62722a6898c5e0420893140326edcb64ebd1ea99.tar.gz gnunet-62722a6898c5e0420893140326edcb64ebd1ea99.zip |
logging
-rw-r--r-- | src/set/gnunet-service-set_union.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, | |||
1560 | (op->state->received_fresh < op->state->received_total / 3) ) | 1560 | (op->state->received_fresh < op->state->received_total / 3) ) |
1561 | { | 1561 | { |
1562 | /* The other peer gave us lots of old elements, there's something wrong. */ | 1562 | /* The other peer gave us lots of old elements, there's something wrong. */ |
1563 | LOG (GNUNET_ERROR_TYPE_ERROR, | ||
1564 | "Other peer sent only %llu/%llu fresh elements, failing operation\n", | ||
1565 | (unsigned long long) op->state->received_fresh, | ||
1566 | (unsigned long long) op->state->received_total); | ||
1563 | GNUNET_break_op (0); | 1567 | GNUNET_break_op (0); |
1564 | fail_union_operation (op); | 1568 | fail_union_operation (op); |
1565 | return; | 1569 | return; |