fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 1 Aug 2011 07:54:55 +0000 (07:54 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 1 Aug 2011 07:54:55 +0000 (07:54 +0000)
src/nse/test_nse_api.c

index 03ea41d18b3ae155be6935e79d9bbe8c746d21e5..aaaad1fc6ac018d1fe3f44de427c98a8d9e93099 100644 (file)
@@ -83,18 +83,22 @@ end_test (void *cls,
  * 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)