gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r35449 - gnunet/src/rps
Date: Wed, 25 Mar 2015 18:17:09 +0100

Author: ch3
Date: 2015-03-25 18:17:09 +0100 (Wed, 25 Mar 2015)
New Revision: 35449

Modified:
   gnunet/src/rps/rps_api.c
Log:
-more verbose logging

Modified: gnunet/src/rps/rps_api.c
===================================================================
--- gnunet/src/rps/rps_api.c    2015-03-25 17:17:04 UTC (rev 35448)
+++ gnunet/src/rps/rps_api.c    2015-03-25 17:17:09 UTC (rev 35449)
@@ -322,7 +322,8 @@
   unsigned int i;
 
   LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "Client turns malicious with %" PRIX32 " other peers:\n",
+       "Client turns malicious (type %" PRIu32 ") with %" PRIX32 " other 
peers:\n",
+       type,
        num_peers);
   for (i = 0 ; i < num_peers ; i++)
     LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -342,6 +343,9 @@
 
   while (GNUNET_SERVER_MAX_MESSAGE_SIZE < size_needed)
   {
+    LOG (GNUNET_ERROR_TYPE_DEBUG,
+         "Too many peers to send at once, sending %" PRIu32 " (all we can so 
far)\n",
+         num_peers_max);
     ev = GNUNET_MQ_msg_extra (msg,
                               num_peers_max * sizeof (struct 
GNUNET_PeerIdentity),
                               GNUNET_MESSAGE_TYPE_RPS_ACT_MALICIOUS);




reply via email to

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