logging
authorFlorian Dold <florian.dold@gmail.com>
Tue, 28 Feb 2017 12:19:56 +0000 (13:19 +0100)
committerFlorian Dold <florian.dold@gmail.com>
Tue, 28 Feb 2017 12:19:56 +0000 (13:19 +0100)
src/set/gnunet-service-set_union.c

index c69aa2a9c7d299f7f5e15d8617275f35d580cb56..b8e210f54c5b5db7f6e1c3fb99ad59c9704b424f 100644 (file)
@@ -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;