gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r15181 - in gnunet/src: peerinfo statistics


From: gnunet
Subject: [GNUnet-SVN] r15181 - in gnunet/src: peerinfo statistics
Date: Sat, 7 May 2011 09:41:49 +0200

Author: grothoff
Date: 2011-05-07 09:41:49 +0200 (Sat, 07 May 2011)
New Revision: 15181

Modified:
   gnunet/src/peerinfo/perf_peerinfo_api.c
   gnunet/src/statistics/test_statistics_api_watch.c
Log:
cleaning

Modified: gnunet/src/peerinfo/perf_peerinfo_api.c
===================================================================
--- gnunet/src/peerinfo/perf_peerinfo_api.c     2011-05-07 07:37:10 UTC (rev 
15180)
+++ gnunet/src/peerinfo/perf_peerinfo_api.c     2011-05-07 07:41:49 UTC (rev 
15181)
@@ -94,9 +94,7 @@
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey;
   struct GNUNET_PeerIdentity pid;
   struct GNUNET_HELLO_Message *h2;
-  size_t agc;
 
-  agc = 2;
   memset (&pkey, i, sizeof (pkey));
   GNUNET_CRYPTO_hash (&pkey, sizeof (pkey), &pid.hashPubKey);
   h2 = GNUNET_HELLO_create (&pkey, &address_generator, &i);

Modified: gnunet/src/statistics/test_statistics_api_watch.c
===================================================================
--- gnunet/src/statistics/test_statistics_api_watch.c   2011-05-07 07:37:10 UTC 
(rev 15180)
+++ gnunet/src/statistics/test_statistics_api_watch.c   2011-05-07 07:41:49 UTC 
(rev 15181)
@@ -68,7 +68,6 @@
         uint64_t value,
         int is_persistent)
 {
-  fprintf (stderr, "Value `%s' seen\n", name);
   GNUNET_assert (value == 42);
   GNUNET_assert (0 == strcmp (name, "test-1"));
   ok &= ~1;
@@ -87,7 +86,6 @@
         uint64_t value,
         int is_persistent)
 {
-  fprintf (stderr, "Value `%s' seen\n", name);
   GNUNET_assert (value == 43);
   GNUNET_assert (0 == strcmp (name, "test-2"));
   ok &= ~2;




reply via email to

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