From fe9b3134a2a686eba8e84d29f3fef97e8feb6818 Mon Sep 17 00:00:00 2001 From: santic-zombie Date: Wed, 18 Jan 2023 01:42:13 +0300 Subject: [PATCH] check setbuf --- src/tox_bot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tox_bot.c b/src/tox_bot.c index ed07dd9..a3f193d 100644 --- a/src/tox_bot.c +++ b/src/tox_bot.c @@ -274,6 +274,8 @@ int main() { Tox *tox = create_tox(); + setbuf(stdout, NULL); + config_tox(tox); bootstrap(tox); print_tox_id(tox);