archive/zzip: fix inverted error handler

Set the Error when zzip_seek()==-1 and not on success.  Fixes a crash
after seeking.
This commit is contained in:
Max Kellermann
2014-11-24 22:08:11 +01:00
parent 143c735f96
commit a254f5a3a8
2 changed files with 7 additions and 4 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.18.19 (not yet released)
* archive
- zzip: fix crash after seeking
ver 0.18.18 (2014/11/18)
* decoder