summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-03 14:02:38 +0100
committersin <sin@2f30.org>2014-10-03 14:03:19 +0100
commite489e324a15f52f575546efebd9af57ea0dae900 (patch)
tree873335ba7da50a49d9b81d95669a00d77345c07b
parent8d094b306e6c16e7d87e4e1bd541eb2cd59a30d7 (diff)
Put configurable stuff in config.def.h
-rw-r--r--config.def.h5
-rw-r--r--ratox.c5
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",