summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-05 21:31:53 +0100
committersin <sin@2f30.org>2014-10-05 21:31:53 +0100
commit442f78450879cb8524d21e3ec5c9080afd736f7f (patch)
tree289e1a02f0f01f0e414390098c7b6ed33067cab2 /ratox.c
parent5488641c58da2fe196612eaf35af3534b62867f7 (diff)
Properly hang up initiating calls
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;