X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=unzip%2Funzip.c;h=c0559696a22cd1df4517f36d69fe7c384664c39e;hb=bad5731da9c9131112dafc9320b5078eb2536232;hp=4f1786c07d7db104f48f548202cf71092715fc93;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/unzip/unzip.c b/unzip/unzip.c index 4f1786c..c055969 100644 --- a/unzip/unzip.c +++ b/unzip/unzip.c @@ -25,13 +25,9 @@ // notaz -#ifdef __DEBUG_PRINT -void dprintf(char *format, ...); -#define logerror dprintf -void errormsg(const char* extmsg, const char* usermsg, const char* zipname) -{ - dprintf("Error in zipfile %s: %s", zipname, extmsg); -} +#if 1 //def __DEBUG_PRINT +#define logerror printf +#define errormsg(str1,def,fname) printf("%s: " #def ": " str1 "\n", fname); #else #define logerror(x...) #define errormsg(x...)