diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2013-11-26 09:26:13 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2013-11-26 09:26:13 +0100 |
commit | 9663ef0c1ce6c232d55e145378955a2108dee8b9 (patch) | |
tree | 5489cfb536fe4d59a745bba6dad9ce8e70f6457e | |
parent | 485966252a200f53704e9156fff5f816798ef465 (diff) | |
download | php-git-9663ef0c1ce6c232d55e145378955a2108dee8b9.tar.gz |
ZEND_STRS - 1 => PHPDBG_STRL
-rw-r--r-- | phpdbg_prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index eff36f4253..c703bd42c6 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -160,7 +160,7 @@ void phpdbg_init(char *init_file, size_t init_file_len, zend_bool use_default TS char *scan_dir = getenv("PHP_INI_SCAN_DIR"); int i; - phpdbg_try_file_init(ZEND_STRS(PHP_CONFIG_FILE_PATH "/" PHPDBG_INIT_FILENAME) - 1 , 0 TSRMLS_CC); + phpdbg_try_file_init(PHPDBG_STRL(PHP_CONFIG_FILE_PATH "/" PHPDBG_INIT_FILENAME), 0 TSRMLS_CC); if (!scan_dir) { scan_dir = PHP_CONFIG_FILE_SCAN_DIR; @@ -185,7 +185,7 @@ void phpdbg_init(char *init_file, size_t init_file_len, zend_bool use_default TS scan_dir += i + 1; } - phpdbg_try_file_init(ZEND_STRS(PHPDBG_INIT_FILENAME) - 1, 0 TSRMLS_CC); + phpdbg_try_file_init(PHPDBG_STRL(PHPDBG_INIT_FILENAME), 0 TSRMLS_CC); } else { phpdbg_try_file_init(init_file, init_file_len, 1 TSRMLS_CC); } |