URI: 
       tCancel rx transfer if we fail to accept it for whatever reason - ratox - FIFO based tox client
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 2b4ba95048a796cbb0e7a88b4853bd5fe791aa8b
   DIR parent 2ad4bbe2388e8366ee001b7324b259a56d91cede
  HTML Author: sin <sin@2f30.org>
       Date:   Fri, 26 Sep 2014 18:53:48 +0100
       
       Cancel rx transfer if we fail to accept it for whatever reason
       
       Diffstat:
         M ratox.c                             |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
   DIR diff --git a/ratox.c b/ratox.c
       t@@ -1219,8 +1219,7 @@ loop(void)
                                                if (tox_file_send_control(tox, f->num, 1, 0,
                                                                      TOX_FILECONTROL_ACCEPT, NULL, 0) < 0) {
                                                        weprintf("Failed to accept transfer from receiver\n");
       -                                                close(f->fd[FFILE_OUT]);
       -                                                f->fd[FFILE_OUT] = -1;
       +                                                cancelrxtransfer(f);
                                                } else {
                                                        printout("Accepted transfer from %s\n",
                                                                 f->name[0] == '\0' ? "Anonymous" : f->name);