diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 13:41:31 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 13:41:31 +0100 |
commit | 58b17906f512866c2e34844fa497ecdf7f1e1e3d (patch) | |
tree | fcfa56bc040ec99990610dba890b72ef4d560663 /sapi/phpdbg/phpdbg_bp.c | |
parent | 4fd63185803aad42790c0ac38c144b346e283009 (diff) | |
download | php-git-58b17906f512866c2e34844fa497ecdf7f1e1e3d.tar.gz |
Apply tidy formatting
Mostly reindent PHP scripts to spaces.
Diffstat (limited to 'sapi/phpdbg/phpdbg_bp.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_bp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sapi/phpdbg/phpdbg_bp.c b/sapi/phpdbg/phpdbg_bp.c index 3a47c78470..738967f907 100644 --- a/sapi/phpdbg/phpdbg_bp.c +++ b/sapi/phpdbg/phpdbg_bp.c @@ -198,19 +198,19 @@ PHPDBG_API void phpdbg_export_breakpoints_to_string(char **str) /* {{{ */ "%sbreak at %s#%ld if %s\n", *str, conditional->param.str, conditional->param.num, conditional->code); break; - + case NUMERIC_METHOD_PARAM: phpdbg_asprintf(&new_str, "%sbreak at %s::%s#%ld if %s\n", *str, conditional->param.method.class, conditional->param.method.name, conditional->param.num, conditional->code); break; - + case ADDR_PARAM: phpdbg_asprintf(&new_str, "%sbreak at 0X%lx if %s\n", *str, conditional->param.addr, conditional->code); break; - + case STR_PARAM: phpdbg_asprintf(&new_str, "%sbreak at %s if %s\n", *str, conditional->param.str, conditional->code); @@ -841,7 +841,7 @@ static inline void phpdbg_create_conditional_break(phpdbg_breakcond_t *brake, co case ADDR_PARAM: /* do nothing */ break; - + default: phpdbg_error("eval", "type=\"invalidparameter\"", "Invalid parameter type for conditional breakpoint"); return; @@ -857,10 +857,10 @@ static inline void phpdbg_create_conditional_break(phpdbg_breakcond_t *brake, co if (new_break.param.type == FILE_PARAM || new_break.param.type == NUMERIC_FILE_PARAM) { char realpath[MAXPATHLEN]; - + if (VCWD_REALPATH(new_break.param.file.name, realpath)) { efree(new_break.param.file.name); - + new_break.param.file.name = estrdup(realpath); } else { phpdbg_error("eval", "type=\"invalidparameter\"", "Invalid file for conditional break %s", new_break.param.file.name); |