From 264c9fd04d5a633e7ee9e59e8406ae5295f93bfb Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 6 Oct 2014 11:54:10 +0100 Subject: Reset state after hangup --- ratox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ratox.c b/ratox.c index 073f41f..daf3472 100644 --- a/ratox.c +++ b/ratox.c @@ -586,6 +586,7 @@ sendfriendcalldata(struct friend *f) framesize * sizeof(int16_t) - f->av.incompleteframe * f->av.n); if (n == 0) { toxav_hangup(toxav, f->av.num); + f->av.state = av_CallNonExistant; return; } else if (n == -1) { return; -- cgit v1.2.3