tCorrectly track connected state variable - ratox - FIFO based tox client
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b58afafbe3e55386bb6f1a339fa117d872cd8602
(DIR) parent d448c53cee34d5ffe173949122cda30284339e5e
(HTM) 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(-)
---
(DIR) diff --git a/ratatox.c b/ratatox.c
t@@ -763,6 +763,7 @@ loop(void)
connected = 1;
}
} else {
+ connected = 0;
t1 = time(NULL);
if (t1 > t0 + 5) {
t0 = time(NULL);