gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36113 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r36113 - gnunet/src/rps
Date: Wed, 22 Jul 2015 11:37:28 +0200

Author: ch3
Date: 2015-07-22 11:37:27 +0200 (Wed, 22 Jul 2015)
New Revision: 36113

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-logging

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-07-22 09:37:26 UTC (rev 36112)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-07-22 09:37:27 UTC (rev 36113)
@@ -1641,7 +1641,7 @@
       sizeof (struct GNUNET_PeerIdentity) != ntohl (in_msg->num_peers))
   {
     LOG (GNUNET_ERROR_TYPE_ERROR,
-        "message says it sends %" PRIu64 " peers, have space for %i peers\n",
+        "message says it sends %" PRIu32 " peers, have space for %i peers\n",
         ntohl (in_msg->num_peers),
         (ntohs (msg->size) - sizeof (struct GNUNET_RPS_P2P_PullReplyMessage)) /
             sizeof (struct GNUNET_PeerIdentity));
@@ -1877,8 +1877,9 @@
   mal_type = ntohl (in_msg->type);
 
   LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "Now acting malicious type %" PRIu32 "\n",
-       mal_type);
+       "Now acting malicious type %" PRIu32 ", got %" PRIu32 " peers.\n",
+       mal_type,
+       ntohl (in_msg->num_peers));
 
   if (1 == mal_type)
   { /* Try to maximise representation */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]