commit b58afafbe3e55386bb6f1a339fa117d872cd8602 parent d448c53cee34d5ffe173949122cda30284339e5e Author: sin <sin@2f30.org> Date: Mon, 15 Sep 2014 17:31:32 +0100 Correctly track connected state variable Diffstat:
M | ratatox.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ratatox.c b/ratatox.c @@ -763,6 +763,7 @@ loop(void) connected = 1; } } else { + connected = 0; t1 = time(NULL); if (t1 > t0 + 5) { t0 = time(NULL);