From 442f78450879cb8524d21e3ec5c9080afd736f7f Mon Sep 17 00:00:00 2001 From: sin Date: Sun, 5 Oct 2014 21:31:53 +0100 Subject: Properly hang up initiating calls --- ratox.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ratox.c') 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; -- cgit v1.2.3