ratox

FIFO based tox client
git clone git://git.2f30.org/ratox
Log | Files | Refs | README | LICENSE

commit e489e324a15f52f575546efebd9af57ea0dae900
parent 8d094b306e6c16e7d87e4e1bd541eb2cd59a30d7
Author: sin <sin@2f30.org>
Date:   Fri,  3 Oct 2014 14:02:38 +0100

Put configurable stuff in config.def.h

Diffstat:
Mconfig.def.h | 5+++++
Mratox.c | 5-----
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 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 @@ -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",