aboutsummaryrefslogtreecommitdiff
path: root/src/espik_config.c
diff options
context:
space:
mode:
authorbeber <beber>2005-12-01 20:22:19 +0000
committerbeber <beber>2005-12-01 20:22:19 +0000
commit1d217fb1cf5b137fe0758015e90e4f38a5a0ba62 (patch)
treecf92fb109d6bc4cb81a66fa1d542efae34c1fc53 /src/espik_config.c
parentmore debug infos (diff)
downloadespik-1d217fb1cf5b137fe0758015e90e4f38a5a0ba62.tar.xz
Add a macro for __attribute__
Check if valgrinf is here Indent More debug and do better use config.h del ^_ from header
Diffstat (limited to '')
-rw-r--r--src/espik_config.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/espik_config.c b/src/espik_config.c
index 82aba00..04dc2e3 100644
--- a/src/espik_config.c
+++ b/src/espik_config.c
@@ -9,6 +9,7 @@
#include "espik_config.h"
#include "espik_error.h"
+#include "espik_debug.h"
t_servinfo* espik_server_config_set (char* server, unsigned short port)
{
@@ -65,13 +66,15 @@ void espik_config_init ()
if ((ret = ecore_config_init (APPS_NAME)) != ECORE_CONFIG_ERR_SUCC)
{
fprintf (stderr, "espik_config_init: Init ecore_config failed (%d)\n", ret);
- exit (ret);
+ kill_me (2);
+/* exit (ret); */
}
if ((ret = ecore_config_load ()) != ECORE_CONFIG_ERR_SUCC)
{
fprintf (stderr, "espik_config_init: Load ecore_config failed (%d)\n", ret);
- exit (ret);
+ kill_me (2);
+/* exit (ret); */
}
}