mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
fix broken subs
This commit is contained in:
parent
1c046c02b8
commit
e36b718004
2 changed files with 8 additions and 2 deletions
|
@ -342,7 +342,10 @@ int phpdbg_do_cmd(const phpdbg_command_t *command, phpdbg_input_t *input TSRMLS_
|
||||||
}
|
}
|
||||||
|
|
||||||
efree(sub.string);
|
efree(sub.string);
|
||||||
} else {
|
}
|
||||||
|
|
||||||
|
/* no sub command found */
|
||||||
|
{
|
||||||
char *store = input->string;
|
char *store = input->string;
|
||||||
|
|
||||||
input->string += input->argv[0]->length;
|
input->string += input->argv[0]->length;
|
||||||
|
|
|
@ -854,7 +854,10 @@ PHPDBG_COMMAND(help) /* {{{ */
|
||||||
phpdbg_help_footer();
|
phpdbg_help_footer();
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
phpdbg_default_switch_case();
|
default: {
|
||||||
|
phpdbg_error(
|
||||||
|
"No help can be found for the subject \"%s\"", param->str);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue