diff options
author | Julius Bünger <buenger@mytum.de> | 2015-07-22 09:37:27 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-07-22 09:37:27 +0000 |
commit | 178b6315788208560d89cfd9964db7ea99bcc89e (patch) | |
tree | da030aee7605e1350c3882afa904ac76ac7995e4 /src | |
parent | d8718ecb695a90ae3c80b0306d74b7b43c34bd04 (diff) | |
download | gnunet-178b6315788208560d89cfd9964db7ea99bcc89e.tar.gz gnunet-178b6315788208560d89cfd9964db7ea99bcc89e.zip |
-logging
Diffstat (limited to 'src')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 3b585e9f7..ce4a14348 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -1641,7 +1641,7 @@ handle_peer_pull_reply (void *cls, | |||
1641 | sizeof (struct GNUNET_PeerIdentity) != ntohl (in_msg->num_peers)) | 1641 | sizeof (struct GNUNET_PeerIdentity) != ntohl (in_msg->num_peers)) |
1642 | { | 1642 | { |
1643 | LOG (GNUNET_ERROR_TYPE_ERROR, | 1643 | LOG (GNUNET_ERROR_TYPE_ERROR, |
1644 | "message says it sends %" PRIu64 " peers, have space for %i peers\n", | 1644 | "message says it sends %" PRIu32 " peers, have space for %i peers\n", |
1645 | ntohl (in_msg->num_peers), | 1645 | ntohl (in_msg->num_peers), |
1646 | (ntohs (msg->size) - sizeof (struct GNUNET_RPS_P2P_PullReplyMessage)) / | 1646 | (ntohs (msg->size) - sizeof (struct GNUNET_RPS_P2P_PullReplyMessage)) / |
1647 | sizeof (struct GNUNET_PeerIdentity)); | 1647 | sizeof (struct GNUNET_PeerIdentity)); |
@@ -1877,8 +1877,9 @@ handle_client_act_malicious (void *cls, | |||
1877 | mal_type = ntohl (in_msg->type); | 1877 | mal_type = ntohl (in_msg->type); |
1878 | 1878 | ||
1879 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1879 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1880 | "Now acting malicious type %" PRIu32 "\n", | 1880 | "Now acting malicious type %" PRIu32 ", got %" PRIu32 " peers.\n", |
1881 | mal_type); | 1881 | mal_type, |
1882 | ntohl (in_msg->num_peers)); | ||
1882 | 1883 | ||
1883 | if (1 == mal_type) | 1884 | if (1 == mal_type) |
1884 | { /* Try to maximise representation */ | 1885 | { /* Try to maximise representation */ |