gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r28765 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r28765 - gnunet/src/ats
Date: Wed, 21 Aug 2013 18:12:11 +0200

Author: wachs
Date: 2013-08-21 18:12:11 +0200 (Wed, 21 Aug 2013)
New Revision: 28765

Modified:
   gnunet/src/ats/perf_ats.c
Log:
fix for all masters


Modified: gnunet/src/ats/perf_ats.c
===================================================================
--- gnunet/src/ats/perf_ats.c   2013-08-21 16:03:30 UTC (rev 28764)
+++ gnunet/src/ats/perf_ats.c   2013-08-21 16:12:11 UTC (rev 28765)
@@ -238,13 +238,13 @@
        struct BenchmarkPeer *p = cls;
        int c_a;
        char *peer_id;
-       if (p != &bp_slaves[0])
-               return; /* print only master peer */
+
        peer_id = GNUNET_strdup (GNUNET_i2s (&p->id));
        for (c_a = 0; c_a < ats_count; c_a++)
        {
-               GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, _("%s: %s %s %u\n"),
-                           peer_id, 
+               GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, _("%c %03u: %s %s %u\n"),
+                                       (GNUNET_YES == p->master) ? 'M' : 'S',
+                                       p->no,
                            GNUNET_i2s (&address->peer),
                            
GNUNET_ATS_print_property_type(ntohl(ats[c_a].type)),
                            ntohl(ats[c_a].value));




reply via email to

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