diff options
author | sin <sin@2f30.org> | 2014-10-03 14:02:38 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-03 14:03:19 +0100 |
commit | e489e324a15f52f575546efebd9af57ea0dae900 (patch) | |
tree | 873335ba7da50a49d9b81d95669a00d77345c07b | |
parent | 8d094b306e6c16e7d87e4e1bd541eb2cd59a30d7 (diff) |
Put configurable stuff in config.def.h
-rw-r--r-- | config.def.h | 5 | ||||
-rw-r--r-- | 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"; @@ -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", |