diff options
author | z3bra <contactatz3bradotorg> | 2016-11-24 23:15:20 +0100 |
---|---|---|
committer | z3bra <contactatz3bradotorg> | 2016-11-24 23:15:20 +0100 |
commit | ae00397f4c17f72e08b07210cfcec2fb964a352d (patch) | |
tree | 889263c44321f3616f071f4a36a8448087a21660 /ratox.c | |
parent | 5b755787f801ac79c51316d95aaa100d47209a3f (diff) |
Fix tests against friend call state
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) { |