wrong return error handling. 0 == error, 1 == ok.

SVN revision: 35280
This commit is contained in:
Carsten Haitzler 2008-08-01 01:02:49 +00:00
parent a309e49392
commit 459569ee08
1 changed files with 1 additions and 1 deletions

View File

@ -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);