Rename ZERR_* to ZIP_ER_*; rename ZIP_ET_ZIP to ZIP_ET_ZLIB; remove ZIP_CH_ISCOMP from zip.h. --HG-- branch : HEAD
diff --git a/lib/zip_file_get_offset.c b/lib/zip_file_get_offset.c index 2d25c3d..228138f 100644 --- a/lib/zip_file_get_offset.c +++ b/lib/zip_file_get_offset.c
@@ -1,5 +1,5 @@ /* - $NiH: zip_file_get_offset.c,v 1.1.2.2 2004/04/06 20:27:22 dillo Exp $ + $NiH: zip_file_get_offset.c,v 1.2 2004/04/14 14:01:24 dillo Exp $ zip_file_get_offset.c -- get offset of file data in archive. Copyright (C) 1999, 2003, 2004 Dieter Baron and Thomas Klausner @@ -63,7 +63,7 @@ offset = za->cdir->entry[idx].offset; if (fseek(za->zp, offset, SEEK_SET) != 0) { - _zip_error_set(&za->error, ZERR_SEEK, errno); + _zip_error_set(&za->error, ZIP_ER_SEEK, errno); return 0; }