-report error if starting openssl failed
[oweals/gnunet.git] / src / ats / test_ats_api_scheduling_init.c
index 7ed7c36eeee5e1faaee7c3b6f690a713c1d2d457..6d650510032a6bde159282659771df249e456f5b 100644 (file)
@@ -26,7 +26,7 @@
  */
 #include "platform.h"
 #include "gnunet_ats_service.h"
-#include "gnunet_testing_lib-new.h"
+#include "gnunet_testing_lib.h"
 #include "ats.h"
 
 #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
@@ -123,7 +123,9 @@ run (void *cls,
     end_badly_now ();
     return;
   }
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Waiting for %llu sec\n", (long long unsigned int) DELAY.rel_value);
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Waiting for %s\n", 
+             GNUNET_STRINGS_relative_time_to_string (DELAY,
+                                                     GNUNET_YES));
   wait_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &delay, NULL);
 }