diff options
author | Xinchen Hui <laruence@php.net> | 2015-08-27 11:34:52 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-08-27 11:38:11 +0800 |
commit | c359ca8c3dea661cc2faa95270f59469ee8ee9d0 (patch) | |
tree | 193bcd59d089e64ef1c37d23d8b916015e168dcb /sapi/phpdbg/phpdbg_list.c | |
parent | b795ce6de54b303c51b3d6f6437ed981afd9fd57 (diff) | |
download | php-git-c359ca8c3dea661cc2faa95270f59469ee8ee9d0.tar.gz |
Fixed printing
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index 1a73a2c0b4..a6f1f9ae28 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -111,10 +111,10 @@ PHPDBG_LIST(class) /* {{{ */ if (ce->info.user.filename) { phpdbg_list_file(ce->info.user.filename, ce->info.user.line_end - ce->info.user.line_start + 1, ce->info.user.line_start, 0); } else { - phpdbg_error("list", "type=\"nosource\" class=\"%s\"", "The source of the requested class (%s) cannot be found", ce->name); + phpdbg_error("list", "type=\"nosource\" class=\"%s\"", "The source of the requested class (%s) cannot be found", ZSTR_VAL(ce->name)); } } else { - phpdbg_error("list", "type=\"internalclass\" class=\"%s\"", "The class requested (%s) is not user defined", ce->name); + phpdbg_error("list", "type=\"internalclass\" class=\"%s\"", "The class requested (%s) is not user defined", ZSTR_VAL(ce->name)); } } else { phpdbg_error("list", "type=\"notfound\" class=\"%s\"", "The requested class (%s) could not be found", param->str); @@ -152,7 +152,7 @@ void phpdbg_list_file(zend_string *filename, uint count, int offset, uint highli lastline = data->lines; } - phpdbg_xml("<list %r file=\"%s\">", filename); + phpdbg_xml("<list %r file=\"%s\">", ZSTR_VAL(filename)); for (line = offset; line < lastline;) { uint linestart = data->line[line++]; |