mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
- CS
This commit is contained in:
parent
900bc9104c
commit
c7ef093095
1 changed files with 2 additions and 2 deletions
|
@ -23,13 +23,13 @@
|
|||
|
||||
ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
|
||||
|
||||
void phpdbg_set_prompt(const char* prompt TSRMLS_DC) /* {{{ */
|
||||
void phpdbg_set_prompt(const char *prompt TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
if (PHPDBG_G(prompt)) {
|
||||
efree(PHPDBG_G(prompt));
|
||||
PHPDBG_G(prompt) = NULL;
|
||||
}
|
||||
|
||||
PHPDBG_G(prompt) = NULL;
|
||||
spprintf(&PHPDBG_G(prompt), 0, "%s ", prompt);
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue