diff options
Diffstat (limited to 'auto_tests/lan_discovery_test.c')
-rw-r--r-- | auto_tests/lan_discovery_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/auto_tests/lan_discovery_test.c b/auto_tests/lan_discovery_test.c index 6918c232..237b51bb 100644 --- a/auto_tests/lan_discovery_test.c +++ b/auto_tests/lan_discovery_test.c | |||
@@ -6,8 +6,9 @@ | |||
6 | 6 | ||
7 | int main(void) | 7 | int main(void) |
8 | { | 8 | { |
9 | Tox *tox1 = tox_new_log(nullptr, nullptr, nullptr); | 9 | setvbuf(stdout, nullptr, _IONBF, 0); |
10 | Tox *tox2 = tox_new_log(nullptr, nullptr, nullptr); | 10 | Tox *tox1 = tox_new_log_lan(nullptr, nullptr, nullptr, /* lan_discovery */true); |
11 | Tox *tox2 = tox_new_log_lan(nullptr, nullptr, nullptr, /* lan_discovery */true); | ||
11 | 12 | ||
12 | printf("Waiting for LAN discovery"); | 13 | printf("Waiting for LAN discovery"); |
13 | 14 | ||