summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_bp.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-02-17 15:41:02 +0800
committerXinchen Hui <laruence@gmail.com>2014-02-17 15:41:02 +0800
commit50927142f3a4e7543a54b07bc388f999201aaf5e (patch)
tree5d54a3930ed696d64b82a9a70c9b3efb7c4445b0 /sapi/phpdbg/phpdbg_bp.c
parent028bdea3db04a30f3d15fc7a67e2f8f33f7dfeef (diff)
downloadphp-git-50927142f3a4e7543a54b07bc388f999201aaf5e.tar.gz
Use better data structures (incomplete)
Diffstat (limited to 'sapi/phpdbg/phpdbg_bp.c')
-rw-r--r--sapi/phpdbg/phpdbg_bp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_bp.c b/sapi/phpdbg/phpdbg_bp.c
index cb8abb0851..04ece1a509 100644
--- a/sapi/phpdbg/phpdbg_bp.c
+++ b/sapi/phpdbg/phpdbg_bp.c
@@ -243,7 +243,7 @@ PHPDBG_API void phpdbg_set_breakpoint_file(const char *path, long line_num TSRML
new_break.filename = estrndup(path, path_len);
new_break.line = line_num;
- zend_hash_str_index_update_mem(broken, line_num, &new_break, sizeof(phpdbg_breakfile_t));
+ zend_hash_index_update_mem(broken, line_num, &new_break, sizeof(phpdbg_breakfile_t));
phpdbg_notice("Breakpoint #%d added at %s:%ld",
new_break.id, new_break.filename, new_break.line);