From 7061085a45e6a8fd3cf6437af58883ec1d23a2d7 Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 1 Aug 2008 01:02:49 +0000 Subject: [PATCH] wrong return error handling. 0 == error, 1 == ok. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35280 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/eet_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/eet_main.c b/src/bin/eet_main.c index 32eb0f4..d352a0f 100644 --- a/src/bin/eet_main.c +++ b/src/bin/eet_main.c @@ -176,7 +176,7 @@ do_eet_encode(const char *file, const char *key, const char *out, int compress) exit(-1); } fclose(f); - if (eet_data_undump(ef, key, text, textlen, compress)) + if (!eet_data_undump(ef, key, text, textlen, compress)) { printf("cannot parse %s\n", out); exit(-1); -- 2.7.4