From e489e324a15f52f575546efebd9af57ea0dae900 Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 3 Oct 2014 14:02:38 +0100 Subject: Put configurable stuff in config.def.h --- config.def.h | 5 +++++ ratox.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index 9a5787f..46e9e72 100644 --- a/config.def.h +++ b/config.def.h @@ -1,4 +1,9 @@ /* See LICENSE file for copyright and license details. */ +#define DATAFILE ".ratox.data" +/* connection delay in seconds */ +#define CONNECTDELAY 5 +#define MAXCALLS 3 + static int encryptdatafile = 0; static char proxyaddr[] = "localhost"; diff --git a/ratox.c b/ratox.c index 4296296..8e59756 100644 --- a/ratox.c +++ b/ratox.c @@ -26,11 +26,6 @@ #include "readpassphrase.h" #include "util.h" -#define DATAFILE ".ratox.data" -/* connection delay in seconds */ -#define CONNECTDELAY 5 -#define MAXCALLS 3 - const char *reqerr[] = { [-TOX_FAERR_TOOLONG] = "Message is too long", [-TOX_FAERR_NOMESSAGE] = "Please add a message to your request", -- cgit v1.2.3