summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_list.c
diff options
context:
space:
mode:
authorReeze Xia <reeze@php.net>2015-03-09 16:12:53 +0800
committerReeze Xia <reeze@php.net>2015-03-09 16:12:53 +0800
commit2a2c74997dd754b27c5d890c0025001878318664 (patch)
tree720cb0dd4642d9d357b1a98fd8fe92b36649598f /sapi/phpdbg/phpdbg_list.c
parentf66bef2414e3907129eeaea2b902e813aaf4f4b5 (diff)
downloadphp-git-2a2c74997dd754b27c5d890c0025001878318664.tar.gz
Now opened_path is a zend_string
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r--sapi/phpdbg/phpdbg_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c
index b2a621e561..252756fcb7 100644
--- a/sapi/phpdbg/phpdbg_list.c
+++ b/sapi/phpdbg/phpdbg_list.c
@@ -235,7 +235,7 @@ zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) {
phpdbg_file_source data, *dataptr;
zend_file_handle fake = {{0}};
zend_op_array *ret;
- char *filename = (char *)(file->opened_path ? file->opened_path : file->filename);
+ char *filename = (char *)(file->opened_path ? file->opened_path->val : file->filename);
uint line;
char *bufptr, *endptr;
char resolved_path_buf[MAXPATHLEN];