--- pgp/src/zip.c 2018/04/24 16:39:14 1.1.1.3 +++ pgp/src/zip.c 2018/04/24 16:43:32 1.1.1.6 @@ -15,7 +15,7 @@ Issue a message for the error, clean up files and memory, and exit */ void err(int c, char *msg) - { +{ #ifdef ZIPDEBUG if (PERR(c)) @@ -24,19 +24,19 @@ void err(int c, char *msg) #endif /* ZIPDEBUG */ /* Complain and return and out of memory error code */ - if(c==ZE_MEM) - { fprintf( stderr, PSTR("\nOut of memory\n") ); + if(c==ZE_MEM) { + fprintf( stderr, LANG("\nOut of memory\n") ); exitPGP( 7 ); - } - else - { fprintf( stderr, PSTR("\nCompression/decompression error\n") ); /* Yuck */ + } else { + fprintf(stderr,LANG("\nCompression/decompression error\n") ); + /* Yuck */ exitPGP( 23 ); } - } +} /* Internal error, should never happen */ void error(char *msg) - { +{ err(-1, msg); - } +}