iliaa Sat Feb 24 18:02:11 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/exif exif.c Log: missing -1 http://cvs.php.net/viewvc.cgi/php-src/ext/exif/exif.c?r1=1.173.2.5.2.16&r2=1.173.2.5.2.17&diff_format=u Index: php-src/ext/exif/exif.c diff -u php-src/ext/exif/exif.c:1.173.2.5.2.16 php-src/ext/exif/exif.c:1.173.2.5.2.17 --- php-src/ext/exif/exif.c:1.173.2.5.2.16 Sat Feb 24 17:57:57 2007 +++ php-src/ext/exif/exif.c Sat Feb 24 18:02:11 2007 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: exif.c,v 1.173.2.5.2.16 2007/02/24 17:57:57 iliaa Exp $ */ +/* $Id: exif.c,v 1.173.2.5.2.17 2007/02/24 18:02:11 iliaa Exp $ */ /* ToDos * @@ -142,7 +142,7 @@ }; /* }}} */ -#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.16 2007/02/24 17:57:57 iliaa Exp $" +#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.17 2007/02/24 18:02:11 iliaa Exp $" /* {{{ PHP_MINFO_FUNCTION */ @@ -1005,7 +1005,7 @@ strlcpy(ret, tag_table[i].Desc, abs(len)); if (len < 0) { memset(ret + strlen(ret), ' ', -len - strlen(ret) - 1); - ret[-len] = '\0'; + ret[-len - 1] = '\0'; } return ret; } @@ -1018,7 +1018,7 @@ strlcpy(ret, tmp, abs(len)); if (len < 0) { memset(ret + strlen(ret), ' ', -len - strlen(ret) - 1); - ret[-len] = '\0'; + ret[-len - 1] = '\0'; } return ret; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php