helly           Fri Feb 24 13:37:20 2006 UTC

  Modified files:              
    /php-src/ext/reflection     php_reflection.c 
  Log:
  - Fix warning
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.219&r2=1.220&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.219 
php-src/ext/reflection/php_reflection.c:1.220
--- php-src/ext/reflection/php_reflection.c:1.219       Fri Feb 24 13:13:55 2006
+++ php-src/ext/reflection/php_reflection.c     Fri Feb 24 13:37:20 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_reflection.c,v 1.219 2006/02/24 13:13:55 helly Exp $ */
+/* $Id: php_reflection.c,v 1.220 2006/02/24 13:37:20 helly Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -757,13 +757,14 @@
 /* }}} */
 
 /* {{{ _property_string */
-static void _property_string(string *str, zend_property_info *prop, char 
*prop_name, char* indent TSRMLS_DC)
+static void _property_string(string *str, zend_property_info *prop, char 
*sz_prop_name, char* indent TSRMLS_DC)
 {
        zstr class_name;
+       zstr prop_name;
 
        string_printf(str, "%sProperty [ ", indent);
        if (!prop) {
-               string_printf(str, "<dynamic> public $%s", prop_name);
+               string_printf(str, "<dynamic> public $%s", sz_prop_name);
        } else {
                if (!(prop->flags & ZEND_ACC_STATIC)) {
                        if (prop->flags & ZEND_ACC_IMPLICIT_PUBLIC) {
@@ -4498,7 +4499,7 @@
        php_info_print_table_start();
        php_info_print_table_header(2, "Reflection", "enabled");
 
-       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.219 
2006/02/24 13:13:55 helly Exp $");
+       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.220 
2006/02/24 13:37:20 helly Exp $");
 
        php_info_print_table_end();
 } /* }}} */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to