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_error_strerror.c b/lib/zip_error_strerror.c
index fae7c1c..90c56a1 100644
--- a/lib/zip_error_strerror.c
+++ b/lib/zip_error_strerror.c
@@ -1,5 +1,5 @@
/*
- $NiH: zip_error_strerror.c,v 1.1 2003/10/05 16:05:22 dillo Exp $
+ $NiH: zip_error_strerror.c,v 1.2 2003/10/06 02:50:06 dillo Exp $
zip_error_sterror.c -- get string representation of struct zip_error
Copyright (C) 1999, 2003 Dieter Baron and Thomas Klausner
@@ -66,7 +66,7 @@
ss = strerror(err->sys_err);
break;
- case ZIP_ET_ZIP:
+ case ZIP_ET_ZLIB:
ss = zError(err->sys_err);
break;
@@ -79,7 +79,7 @@
return zs;
else {
if ((s=malloc(strlen(ss) + (zs ? strlen(zs)+2 : 0) + 1)) == NULL)
- return _zip_err_str[ZERR_MEMORY];
+ return _zip_err_str[ZIP_ER_MEMORY];
sprintf(s, "%s%s%s",
(zs ? zs : ""),