commit 442f78450879cb8524d21e3ec5c9080afd736f7f
parent 5488641c58da2fe196612eaf35af3534b62867f7
Author: sin <sin@2f30.org>
Date: Sun, 5 Oct 2014 21:31:53 +0100
Properly hang up initiating calls
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git 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;