summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ratox.c b/ratox.c
index 1694aca..f54ba93 100644
--- a/ratox.c
+++ b/ratox.c
@@ -481,6 +481,7 @@ sendfriendcalldata(struct friend *f)
framesize * sizeof(int16_t) - (f->av.state & INCOMPLETE ? f->av.n : 0));
if (n == 0) {
f->av.state &= ~OUTGOING;
+ f->av.state &= ~INCOMPLETE;
return;
} else if (n < 0 || f->av.state & RINGING) {
/* discard data as long as the call is not established */