URI: 
       tReset state after hangup - ratox - FIFO based tox client
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 264c9fd04d5a633e7ee9e59e8406ae5295f93bfb
   DIR parent 35a4caae3ffb8cb223e34a68e71ed63ce2b2d1db
  HTML Author: sin <sin@2f30.org>
       Date:   Mon,  6 Oct 2014 11:54:10 +0100
       
       Reset state after hangup
       
       Diffstat:
         M ratox.c                             |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
   DIR diff --git a/ratox.c b/ratox.c
       t@@ -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;