pajoye Sat Mar 6 12:41:32 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard iptc.c Log: - MFH #27238 fix (ilia ok) http://cvs.php.net/diff.php/php-src/ext/standard/iptc.c?r1=1.41.4.2&r2=1.41.4.3&ty=u Index: php-src/ext/standard/iptc.c diff -u php-src/ext/standard/iptc.c:1.41.4.2 php-src/ext/standard/iptc.c:1.41.4.3 --- php-src/ext/standard/iptc.c:1.41.4.2 Tue Dec 31 11:35:31 2002 +++ php-src/ext/standard/iptc.c Sat Mar 6 12:41:31 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: iptc.c,v 1.41.4.2 2002/12/31 16:35:31 sebastian Exp $ */ +/* $Id: iptc.c,v 1.41.4.3 2004/03/06 17:41:31 pajoye Exp $ */ /* * Functions to parse & compse IPTC data. @@ -320,7 +320,7 @@ tagsfound = 0; /* number of tags already found */ while (inx < length) { /* find 1st tag */ - if ((buffer[inx] == 0x1c) && (buffer[inx+1] == 0x02)){ + if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){ break; } else { inx++;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php