diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-29 17:11:54 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-29 17:11:54 +0200 |
commit | f14def04d0a38896d1321758604da6db2bdc2c49 (patch) | |
tree | 4b0cc0d068505be722eb9cbfa8b290fd14f12dab /tests | |
parent | 9aee0986af098e355eec2c9d87ac4e3fc3fdcb42 (diff) | |
download | edoors-f14def04d0a38896d1321758604da6db2bdc2c49.zip edoors-f14def04d0a38896d1321758604da6db2bdc2c49.tar.gz |
tests/main.c: eiotas_init returns 0 on failre
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/main.c b/tests/main.c index f5ddddf..6de02a1 100644 --- a/tests/main.c +++ b/tests/main.c @@ -45,7 +45,7 @@ int main(int argc, char **argv) int i; Eiotas_Particle *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9, *p10; - if(eiotas_init()>0) { + if(eiotas_init()==0) { return EXIT_FAILURE; } eina_log_domain_level_set("eiotas",EINA_LOG_LEVEL_DBG); @@ -116,6 +116,5 @@ int main(int argc, char **argv) eiotas_spin_free(dom0); - return eiotas_shutdown(); } |