diff options
author | beber <beber> | 2005-12-01 20:22:19 +0000 |
---|---|---|
committer | beber <beber> | 2005-12-01 20:22:19 +0000 |
commit | 1d217fb1cf5b137fe0758015e90e4f38a5a0ba62 (patch) | |
tree | cf92fb109d6bc4cb81a66fa1d542efae34c1fc53 /src/espik_config.c | |
parent | more debug infos (diff) | |
download | espik-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.c | 7 |
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); */ } } |