ratox

FIFO based tox client
git clone git://git.2f30.org/ratox
Log | Files | Refs | README | LICENSE

commit f0862432026e32cc0e4a7bbd93a51509d507ac9e
parent bfc61ad1472843bb515394f95901c2d54889825f
Author: z3bra <contactatz3bradotorg>
Date:   Tue,  8 Nov 2016 13:42:39 +0100

Monitor friends connected either via TCP or UDP

Diffstat:
Mratox.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ratox.c b/ratox.c @@ -1589,7 +1589,7 @@ loop(void) TAILQ_FOREACH(f, &friendhead, entry) { /* Only monitor friends that are online */ - if (tox_friend_get_connection_status(tox, f->num, NULL) == 1) { + if (tox_friend_get_connection_status(tox, f->num, NULL) != TOX_CONNECTION_NONE) { FD_APPEND(f->fd[FTEXT_IN]); if (f->tx.state == TRANSFER_NONE)