cvs: php-src /ext/standard var.c

From: Date: Wed, 08 Oct 2003 01:49:32 +0000
Subject: cvs: php-src /ext/standard var.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24090@lists.php.net to get a copy of this message
moriyoshi Tue Oct 7 21:49:32 2003 EDT Modified files: /php-src/ext/standard var.c Log: Better fix for bug #25758 Index: php-src/ext/standard/var.c diff -u php-src/ext/standard/var.c:1.172 php-src/ext/standard/var.c:1.173 --- php-src/ext/standard/var.c:1.172 Tue Oct 7 21:16:44 2003 +++ php-src/ext/standard/var.c Tue Oct 7 21:49:31 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.172 2003/10/08 01:16:44 iliaa Exp $ */ +/* $Id: var.c,v 1.173 2003/10/08 01:49:31 moriyoshi Exp $ */ /* {{{ includes @@ -273,7 +273,7 @@ } else { /* string key */ char *key; int key_len; - key = php_addcslashes(hash_key->arKey, strlen(hash_key->arKey), &key_len, 0, "'\\", 2 TSRMLS_CC); + key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength, &key_len, 0, "'\\", 2 TSRMLS_CC); php_printf("%*c'%s' => ", level + 1, ' ', key); efree(key); }

« previous php.cvs (#24090) next »