diff options
author | sin <sin@2f30.org> | 2014-10-05 21:31:53 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-05 21:31:53 +0100 |
commit | 442f78450879cb8524d21e3ec5c9080afd736f7f (patch) | |
tree | 289e1a02f0f01f0e414390098c7b6ed33067cab2 | |
parent | 5488641c58da2fe196612eaf35af3534b62867f7 (diff) |
Properly hang up initiating calls
-rw-r--r-- | ratox.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |