summaryrefslogtreecommitdiff
path: root/legacy/eet/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2008-08-01 01:02:49 +0000
committerCarsten Haitzler <raster@rasterman.com>2008-08-01 01:02:49 +0000
commit459569ee08e746a649dc3fd67c7e6735ad638dce (patch)
tree19f89bb7ef5bb19a356ff35524db67c697e064a6 /legacy/eet/src/bin
parenta309e49392ea6fb67f0aa45d75225a7de5d0c6c1 (diff)
wrong return error handling. 0 == error, 1 == ok.
SVN revision: 35280
Diffstat (limited to 'legacy/eet/src/bin')
-rw-r--r--legacy/eet/src/bin/eet_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/eet/src/bin/eet_main.c b/legacy/eet/src/bin/eet_main.c
index 32eb0f4a20..d352a0f643 100644
--- a/legacy/eet/src/bin/eet_main.c
+++ b/legacy/eet/src/bin/eet_main.c
@@ -176,7 +176,7 @@ do_eet_encode(const char *file, const char *key, const char *out, int compress)
176 exit(-1); 176 exit(-1);
177 } 177 }
178 fclose(f); 178 fclose(f);
179 if (eet_data_undump(ef, key, text, textlen, compress)) 179 if (!eet_data_undump(ef, key, text, textlen, compress))
180 { 180 {
181 printf("cannot parse %s\n", out); 181 printf("cannot parse %s\n", out);
182 exit(-1); 182 exit(-1);