X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ftransport%2Ftest_transport_testing_startstop.c;h=931e922c471d50c8dfe15abfc12f10f7016ce815;hb=4bd01d03e323377bbbd7609e29d8179bcb682deb;hp=0846357e66f9ef35c1c2c6e3d4e8c493e521e5b8;hpb=a00afbdaae8de7fd752aab1ed5028833a85eeea7;p=oweals%2Fgnunet.git diff --git a/src/transport/test_transport_testing_startstop.c b/src/transport/test_transport_testing_startstop.c index 0846357e6..931e922c4 100644 --- a/src/transport/test_transport_testing_startstop.c +++ b/src/transport/test_transport_testing_startstop.c @@ -64,15 +64,15 @@ end_badly () static void -start_cb (struct GNUNET_TRANSPORT_TESTING_PeerContext *p, - void *cls) +start_cb (void *cls) { GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%s') successfully started\n", p->no, GNUNET_i2s (&p->id)); ret = 0; - end (); + GNUNET_SCHEDULER_add_now (&end, + NULL); }