ratox

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

commit ae00397f4c17f72e08b07210cfcec2fb964a352d
parent 5b755787f801ac79c51316d95aaa100d47209a3f
Author: z3bra <contactatz3bradotorg>
Date:   Thu, 24 Nov 2016 23:15:20 +0100

Fix tests against friend call state

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

diff --git a/ratox.c b/ratox.c @@ -482,7 +482,7 @@ sendfriendcalldata(struct friend *f) if (n == 0) { f->av.state &= ~OUTGOING; return; - } else if (n < 0 || state & RINGING) { + } else if (n < 0 || f->av.state & RINGING) { /* discard data as long as the call is not established */ return; } else if (n == (framesize * sizeof(int16_t) - (f->av.state & INCOMPLETE ? f->av.n : 0))) {