gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16267 - gnunet/src/nse


From: gnunet
Subject: [GNUnet-SVN] r16267 - gnunet/src/nse
Date: Mon, 1 Aug 2011 09:54:55 +0200

Author: grothoff
Date: 2011-08-01 09:54:55 +0200 (Mon, 01 Aug 2011)
New Revision: 16267

Modified:
   gnunet/src/nse/test_nse_api.c
Log:
fix

Modified: gnunet/src/nse/test_nse_api.c
===================================================================
--- gnunet/src/nse/test_nse_api.c       2011-08-01 07:48:28 UTC (rev 16266)
+++ gnunet/src/nse/test_nse_api.c       2011-08-01 07:54:55 UTC (rev 16267)
@@ -83,18 +83,22 @@
  * Callback to call when network size estimate is updated.
  *
  * @param cls unused
+ * @param timestamp time when the estimate was received from the server (or 
created by the server)
  * @param estimate the value of the current network size estimate
  * @param std_dev standard deviation (rounded down to nearest integer)
  *                of the size estimation values seen
  *
  */
 static void
-check_nse_message (void *cls, double estimate, double std_dev)
+check_nse_message (void *cls, 
+                  struct GNUNET_TIME_Absolute timestamp,
+                  double estimate, double std_dev)
 {
   int *ok = cls;
 
   fprintf (stderr,
-          "Received NSE message, estimate %f, standard deviation %f.\n");
+          "Received NSE message, estimate %f, standard deviation %f.\n",
+          estimate, std_dev);
   /* Fantastic check below. Expect NaN, the only thing not equal to itself. */
   (*ok) = 0;
   if (die_task != GNUNET_SCHEDULER_NO_TASK)




reply via email to

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