helly Tue Feb 21 09:12:32 2006 UTC Modified files: /php-src/ext/reflection php_reflection.c Log: - Ansi compliance issue found by rob http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.213&r2=1.214&diff_format=u Index: php-src/ext/reflection/php_reflection.c diff -u php-src/ext/reflection/php_reflection.c:1.213 php-src/ext/reflection/php_reflection.c:1.214 --- php-src/ext/reflection/php_reflection.c:1.213 Tue Feb 21 00:43:33 2006 +++ php-src/ext/reflection/php_reflection.c Tue Feb 21 09:12:32 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_reflection.c,v 1.213 2006/02/21 00:43:33 helly Exp $ */ +/* $Id: php_reflection.c,v 1.214 2006/02/21 09:12:32 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -4171,6 +4171,7 @@ while(dep->name) { char *relation; char *rel_type; + int len; switch(dep->type) { case MODULE_DEP_REQUIRED: @@ -4187,7 +4188,7 @@ break; } - int len = spprintf(&relation, 0, "%s%s%s%s%s", + len = spprintf(&relation, 0, "%s%s%s%s%s", rel_type, dep->rel ? " " : "", dep->rel ? dep->rel : "", @@ -4471,7 +4472,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.213 2006/02/21 00:43:33 helly Exp $"); + php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.214 2006/02/21 09:12:32 helly Exp $"); php_info_print_table_end(); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php