X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Fecho-fork.c;h=7fe0ab843fdcc6c9fde3cb8ba4c40bf8a8bf712d;hp=0096c9e0fb4adc5c8611a5bccd366d7863bd2445;hb=6b125b5b68e2657eae9b36f23d7f569fb9e49f8d;hpb=cb34e9341aa5e87867ca8c539c167f271e31b5bf diff --git a/test/echo-fork.c b/test/echo-fork.c index 0096c9e0..7fe0ab84 100644 --- a/test/echo-fork.c +++ b/test/echo-fork.c @@ -175,6 +175,10 @@ static int main2(void) { int main(void) { + init_sync_flag(&a_started); + init_sync_flag(&a_stopped); + init_sync_flag(&b_responded); + meshlink_set_log_cb(NULL, MESHLINK_WARNING, log_cb); // Initialize and exchange configuration.