Skip to content

Commit b9c1c87

Browse files
committed
...
1 parent 79ab9a3 commit b9c1c87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpdbg_prompt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,13 +513,13 @@ static PHPDBG_COMMAND(list) /* {{{ */
513513
phpdbg_list_file(filename, count, offset TSRMLS_CC);
514514
} else {
515515
zend_function* fbc;
516-
516+
517517
if (!EG(function_table)) {
518518
printf("[No function table loaded]\n");
519519
return SUCCESS;
520520
}
521521

522-
if (zend_hash_find(EG(function_table), expr, strlen(expr)+1,
522+
if (zend_hash_find(EG(function_table), expr, expr_len,
523523
(void**)&fbc) == SUCCESS) {
524524
phpdbg_list_function(fbc TSRMLS_CC);
525525
}

0 commit comments

Comments
 (0)