tFlag transfer completion by changing state - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e1639077d5a4a1012479f94c2b6a25851138c91e
 (DIR) parent 6c626f3590cad76c7c800d43ae0a981ebc529018
 (HTM) Author: sin <sin@2f30.org>
       Date:   Thu, 25 Sep 2014 11:15:25 +0100
       
       Flag transfer completion by changing state
       
       Diffstat:
         M ratox.c                             |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/ratox.c b/ratox.c
       t@@ -615,6 +615,7 @@ sendfriendfile(struct friend *f)
                                /* Signal transfer completion to other end */
                                tox_file_send_control(tox, f->fid, 0, f->t.fnum,
                                                      TOX_FILECONTROL_FINISHED, NULL, 0);
       +                        f->t.state = TRANSFER_DONE;
                                break;
                        }
                        if (n == -1)