src/archiver_qpak.c
changeset 1138 e57e3936d071
parent 1129 d81afe4b0a97
child 1142 25880a820248
--- a/src/archiver_qpak.c	Fri Jan 21 03:07:14 2011 -0500
+++ b/src/archiver_qpak.c	Thu Feb 10 16:54:09 2011 -0500
@@ -261,7 +261,7 @@
     BAIL_IF_MACRO((count % 64) != 0, ERR_CORRUPTED, NULL);
     count /= 64;
 
-    BAIL_IF_MACRO(io->seek(io, pos), NULL, NULL);
+    BAIL_IF_MACRO(!io->seek(io, pos), NULL, NULL);
 
     info = (QPAKinfo *) allocator.Malloc(sizeof (QPAKinfo));
     BAIL_IF_MACRO(info == NULL, ERR_OUT_OF_MEMORY, NULL);