- Not needed strlen() here

This commit is contained in:
Felipe Pena 2013-11-12 00:54:22 -02:00
parent 6658f58d4a
commit f704fdea57

View file

@ -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);
}