tJust a hack for now, strip the training newline if any - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4d6cd035259f3c9debea6844e777febe33f4fd48
 (DIR) parent 24f24315fc9da6e69698e92c76d778555461d77e
 (HTM) Author: sin <sin@2f30.org>
       Date:   Mon, 15 Sep 2014 12:27:15 +0100
       
       Just a hack for now, strip the training newline if any
       
       Diffstat:
         M ratatox.c                           |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/ratatox.c b/ratatox.c
       t@@ -365,6 +365,8 @@ again:
                        perror("read");
                        exit(1);
                }
       +        if (buf[n - 1] == '\n')
       +                n--;
                tox_send_message(tox, f->fid, buf, n);
        }