diff options
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r-- | src/rps/rps_api.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index 73e2340ea..3afff58e6 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c | |||
@@ -322,7 +322,8 @@ GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h, | |||
322 | unsigned int i; | 322 | unsigned int i; |
323 | 323 | ||
324 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 324 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
325 | "Client turns malicious with %" PRIX32 " other peers:\n", | 325 | "Client turns malicious (type %" PRIu32 ") with %" PRIX32 " other peers:\n", |
326 | type, | ||
326 | num_peers); | 327 | num_peers); |
327 | for (i = 0 ; i < num_peers ; i++) | 328 | for (i = 0 ; i < num_peers ; i++) |
328 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 329 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
@@ -342,6 +343,9 @@ GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h, | |||
342 | 343 | ||
343 | while (GNUNET_SERVER_MAX_MESSAGE_SIZE < size_needed) | 344 | while (GNUNET_SERVER_MAX_MESSAGE_SIZE < size_needed) |
344 | { | 345 | { |
346 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
347 | "Too many peers to send at once, sending %" PRIu32 " (all we can so far)\n", | ||
348 | num_peers_max); | ||
345 | ev = GNUNET_MQ_msg_extra (msg, | 349 | ev = GNUNET_MQ_msg_extra (msg, |
346 | num_peers_max * sizeof (struct GNUNET_PeerIdentity), | 350 | num_peers_max * sizeof (struct GNUNET_PeerIdentity), |
347 | GNUNET_MESSAGE_TYPE_RPS_ACT_MALICIOUS); | 351 | GNUNET_MESSAGE_TYPE_RPS_ACT_MALICIOUS); |