Commit: f704fdea57d32cc8fa4bd98a208d9c8428bc05e4 Author: Felipe Pena <felipe...@gmail.com> Tue, 12 Nov 2013 00:54:22 -0200 Parents: 6658f58d4afcb80ffaeac460564aecb1591ecd93 Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f704fdea57d32cc8fa4bd98a208d9c8428bc05e4 Log: - Not needed strlen() here Changed paths: M phpdbg_prompt.c Diff: diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index b71bd3d..4f5c6e0 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -519,7 +519,7 @@ static PHPDBG_COMMAND(list) /* {{{ */ return SUCCESS; } - if (zend_hash_find(EG(function_table), expr, strlen(expr)+1, + if (zend_hash_find(EG(function_table), expr, expr_len, (void**)&fbc) == SUCCESS) { phpdbg_list_function(fbc TSRMLS_CC); } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php