From: Greg Beaver Date: Fri, 28 Mar 2008 21:03:29 +0000 (+0000) Subject: correct last commit (comparison of "nu" in wrong order) X-Git-Tag: RELEASE_2_0_0b1~536 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54cfa7437cdc7953bc8530b983571186518a4f42;p=php correct last commit (comparison of "nu" in wrong order) --- diff --git a/ext/phar/zip.c b/ext/phar/zip.c index a8ef9536ec..0d307242e5 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -30,7 +30,7 @@ static int phar_zip_process_extra(php_stream *fp, phar_entry_info *entry, php_ui return FAILURE; } /* clean up header for big-endian systems */ - if (h.header.tag[0] != 'n' || h.header.tag[1] != 'u') { + if (h.header.tag[0] != 'u' || h.header.tag[1] != 'n') { /* skip to next header */ php_stream_seek(fp, h.header.size, SEEK_CUR); len -= h.header.size + 4;