tUp max number of calls - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 8d094b306e6c16e7d87e4e1bd541eb2cd59a30d7
 (DIR) parent 654db574f14999797eddef08c1535af107a874f3
 (HTM) Author: sin <sin@2f30.org>
       Date:   Fri,  3 Oct 2014 13:47:28 +0100
       
       Up max number of calls
       
       Diffstat:
         M ratox.c                             |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/ratox.c b/ratox.c
       t@@ -29,6 +29,7 @@
        #define DATAFILE ".ratox.data"
        /* connection delay in seconds */
        #define CONNECTDELAY 5
       +#define MAXCALLS 3
        
        const char *reqerr[] = {
                [-TOX_FAERR_TOOLONG]      = "Message is too long",
       t@@ -1061,7 +1062,7 @@ toxinit(void)
                dataload();
                datasave();
        
       -        toxav = toxav_new(tox, 1);
       +        toxav = toxav_new(tox, MAXCALLS);
                if (!toxav)
                        eprintf("Failed to initialize toxav\n");