diff options
author | Julius Bünger <buenger@mytum.de> | 2015-03-25 17:17:09 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-03-25 17:17:09 +0000 |
commit | a5680e9d17a0a94cc10623f222f8c4a83b8b36f6 (patch) | |
tree | 1e7bb3aa780ab80854973ad71b2a2b062c567043 /src | |
parent | 038af3d26243048d42adb394f6911da8b6a3fd7e (diff) | |
download | gnunet-a5680e9d17a0a94cc10623f222f8c4a83b8b36f6.tar.gz gnunet-a5680e9d17a0a94cc10623f222f8c4a83b8b36f6.zip |
-more verbose logging
Diffstat (limited to 'src')
-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); |