summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-03 13:47:28 +0100
committersin <sin@2f30.org>2014-10-03 13:47:28 +0100
commit8d094b306e6c16e7d87e4e1bd541eb2cd59a30d7 (patch)
tree793d508e20ffc78e632802ff08ef3e8a2e6e5917 /ratox.c
parent654db574f14999797eddef08c1535af107a874f3 (diff)
Up max number of calls
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 2649b67..4296296 100644
--- a/ratox.c
+++ b/ratox.c
@@ -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",
@@ -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");