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

From: Date: Tue, 06 Jan 2004 20:38:01 +0000
Subject: cvs: php-src /ext/standard http.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25541@lists.php.net to get a copy of this message
zeev Tue Jan 6 15:38:01 2004 EDT Modified files: /php-src/ext/standard http.c Log: Fix C++ style declaration Index: php-src/ext/standard/http.c diff -u php-src/ext/standard/http.c:1.9 php-src/ext/standard/http.c:1.10 --- php-src/ext/standard/http.c:1.9 Tue Jan 6 15:07:06 2004 +++ php-src/ext/standard/http.c Tue Jan 6 15:38:00 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: http.c,v 1.9 2004/01/06 20:07:06 iliaa Exp $ */ +/* $Id: http.c,v 1.10 2004/01/06 20:38:00 zeev Exp $ */ #include "php_http.h" #include "php_ini.h" @@ -62,12 +62,13 @@ /* handling for private & protected object properties */ if (*key == '\0' && type != NULL) { + char *tmp; + zend_object *zobj = zend_objects_get_address(type TSRMLS_CC); if (zend_check_property_access(zobj, key TSRMLS_CC) != SUCCESS) { /* private or protected property access outside of the class */ continue; } - char *tmp; zend_unmangle_property_name(key, &tmp, &key); key_len = strlen(key); }

« previous php.cvs (#25541) next »