- Remove printf, use GNUNET_log INFO
[oweals/gnunet.git] / src / nse / test_nse_multipeer.c
index fda50f9210dd7582b92131ceef5250f442737df7..2b8c367ce04f53e86eaeeab339274157364896d8 100644 (file)
@@ -104,6 +104,7 @@ handle_estimate (void *cls, struct GNUNET_TIME_Absolute timestamp,
           estimate, std_dev,
            GNUNET_NSE_log_estimate_to_n (estimate), 
           NUM_PEERS);
+  ok = 0;
 }
 
 
@@ -213,11 +214,11 @@ int
 main (int argc, char *argv[])
 {
   ok = 1;
-  GNUNET_TESTBED_test_run ("test-nse-multipeer",
-                          "test_nse.conf",
-                          NUM_PEERS,
-                          0, NULL, NULL,
-                          &run, NULL);
+  (void) GNUNET_TESTBED_test_run ("test-nse-multipeer",
+                                  "test_nse.conf",
+                                  NUM_PEERS,
+                                  0, NULL, NULL,
+                                  &run, NULL);
   return ok;
 }