Adapted timeout for slower buildbots
[oweals/gnunet.git] / src / mesh / test_mesh_api.c
index 6821a1ab8520f4614d633b6d8131d35a589773ce..6fcc8c7ff90482332bc26c5607ea7b1631ff2e6b 100644 (file)
@@ -27,7 +27,7 @@
 #include "platform.h"
 #include "gnunet_util_lib.h"
 #include "gnunet_dht_service.h"
-#include "gnunet_mesh_service_new.h"
+#include "gnunet_mesh_service.h"
 
 #define VERBOSE 1
 #define VERBOSE_ARM 0
@@ -55,7 +55,7 @@ static int
 callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx,
           const struct GNUNET_PeerIdentity *sender,
           const struct GNUNET_MessageHeader *message,
-          const struct GNUNET_TRANSPORT_ATS_Information *atsi)
+          const struct GNUNET_ATS_Information *atsi)
 {
   return GNUNET_OK;
 }
@@ -122,7 +122,8 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   }
 
   GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
-                                    (GNUNET_TIME_UNIT_SECONDS, 5), &do_shutdown, NULL);
+                                (GNUNET_TIME_UNIT_SECONDS, 5), &do_shutdown,
+                                NULL);
 }