From f14def04d0a38896d1321758604da6db2bdc2c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 29 May 2012 17:11:54 +0200 Subject: tests/main.c: eiotas_init returns 0 on failre --- tests/main.c | 3 +-- 1 file changed, 1 insertion(+), 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(); } -- cgit v1.1-2-g2b99