Commit: b9c1c872f6fcf99b0ba8e3f26a21814e475bd788 Author: krakjoe <joe.watk...@live.co.uk> Tue, 12 Nov 2013 02:50:24 +0000 Parents: 79ab9a3f74e9ecb3d9acfc4a0050b491bda56185 Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b9c1c872f6fcf99b0ba8e3f26a21814e475bd788 Log: ... Changed paths: M phpdbg_prompt.c Diff: diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 5fd0712..7d8ed35 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -513,13 +513,13 @@ static PHPDBG_COMMAND(list) /* {{{ */ phpdbg_list_file(filename, count, offset TSRMLS_CC); } else { zend_function* fbc; - + if (!EG(function_table)) { printf("[No function table loaded]\n"); 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