summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ratox.c b/ratox.c
index 4d31fb6..1c64adb 100644
--- a/ratox.c
+++ b/ratox.c
@@ -576,11 +576,7 @@ sendfriendcalldata(struct friend *f)
f->av.frame + f->av.incompleteframe * f->av.n,
framesize * sizeof(int16_t) - f->av.incompleteframe * f->av.n);
if (n == 0) {
- cancelrxcall(f, "Ended");
- canceltxcall(f, "Ended");
- toxav_kill_transmission(toxav, f->av.num);
toxav_hangup(toxav, f->av.num);
- f->av.state = av_CallNonExistant;
return;
} else if (n == -1) {
return;