Re: svn: /php/php-src/trunk/ext/zip/lib/ zip_fread.c

From: Date: Wed, 12 Aug 2009 17:47:49 +0000
Subject: Re: svn: /php/php-src/trunk/ext/zip/lib/ zip_fread.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60120@lists.php.net to get a copy of this message
Hi, pls merge that change to other branches and pecl as well, thanks, -- On Wed, Aug 12, 2009 at 2:47 PM, Ilia Alshanetsky<iliaa@php.net> wrote: > iliaa                                    Wed, 12 Aug 2009 12:47:19 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=287155 > > Log: > Fixed compiler warning > > Changed paths: >    U   php/php-src/trunk/ext/zip/lib/zip_fread.c > > Modified: php/php-src/trunk/ext/zip/lib/zip_fread.c > =================================================================== > --- php/php-src/trunk/ext/zip/lib/zip_fread.c   2009-08-12 12:18:23 UTC (rev 287154) > +++ php/php-src/trunk/ext/zip/lib/zip_fread.c   2009-08-12 12:47:19 UTC (rev 287155) > @@ -95,7 +95,7 @@ >            if (len >= zf->bytes_left || len >= toread) { >                    if (zf->flags & ZIP_ZF_CRC) { >                            zf->crc = crc32(zf->crc, (Bytef *)outbuf, len); > -                           if (zf->flags & ZIP_ZF_EOF == 1) { > +                           if ((zf->flags & ZIP_ZF_EOF) == 1) { >                                    if (zf->crc != zf->crc_orig) { >                                           >  _zip_error_set(&zf->error, ZIP_ER_CRC, 0); >                                            return -1; > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.cvs (#60120) next »