tInform the user when we cancel pending transfers - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2db140446d2e1c7befa1817cddba4b661dbe413b
 (DIR) parent 7a22a7405d6c963939cce1275961f637c4d99f91
 (HTM) Author: sin <sin@2f30.org>
       Date:   Wed, 24 Sep 2014 14:16:02 +0100
       
       Inform the user when we cancel pending transfers
       
       Diffstat:
         M ratox.c                             |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/ratox.c b/ratox.c
       t@@ -571,6 +571,8 @@ canceltransfer(struct friend *f)
                }
                /* Cancel RX transfers */
                if (f->recvfileactive == 1) {
       +                printout("Cancelling transfer from %s\n",
       +                         f->namestr[0] == '\0' ? "Anonymous" : f->namestr);
                        tox_file_send_control(tox, f->fid, 1, 0, TOX_FILECONTROL_KILL, NULL, 0);
                        if (f->fd[FFILE_OUT] != -1) {
                                close(f->fd[FFILE_OUT]);