moriyoshi Tue Oct 7 21:51:33 2003 EDT Modified files: /php-src/ext/standard var.c Log: Oops.. Index: php-src/ext/standard/var.c diff -u php-src/ext/standard/var.c:1.173 php-src/ext/standard/var.c:1.174 --- php-src/ext/standard/var.c:1.173 Tue Oct 7 21:49:31 2003 +++ php-src/ext/standard/var.c Tue Oct 7 21:51:32 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.173 2003/10/08 01:49:31 moriyoshi Exp $ */ +/* $Id: var.c,v 1.174 2003/10/08 01:51:32 moriyoshi Exp $ */ /* {{{ includes @@ -273,7 +273,7 @@ } else { /* string key */ char *key; int key_len; - key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength, &key_len, 0, "'\\", 2 TSRMLS_CC); + key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength - 1, &key_len, 0, "'\\", 2 TSRMLS_CC); php_printf("%*c'%s' => ", level + 1, ' ', key); efree(key); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php