diff options
author | portix <portix@gmx.net> | 2013-05-20 12:35:39 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-05-20 12:35:39 +0200 |
commit | b85e6231bcb0ca9a8d7dddfa76735b35f2da0163 (patch) | |
tree | fb78657d6f787dca88fe6550ed41f332e98c350a | |
parent | 7c054ff422b42b712bfaa6d3a526b8c864b2310b (diff) | |
download | dwb-b85e6231bcb0ca9a8d7dddfa76735b35f2da0163.zip |
Fixing version check exar_check_version
-rw-r--r-- | exar/exar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exar/exar.c b/exar/exar.c index 90f005d6..aa5bb2d6 100644 --- a/exar/exar.c +++ b/exar/exar.c @@ -616,7 +616,7 @@ exar_check_version(const char *archive) int result = EE_ERROR; FILE *f; - if ( (f = fopen(archive, "r")) != NULL && check_version(f, 0)) + if ( (f = fopen(archive, "r")) != NULL && check_version(f, 0) == 0) result = EE_OK; close_file(f, archive); return result; |