summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-18 16:07:16 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-05-19 15:59:21 +0200
commit85ac5643ff07e07e40df89510726e1bc66e6a50b (patch)
treeddde48a823cd445895c9f17cb188e73a19d6db82
parent74a4a5ae55f75ca3ddb46d5605582b0e028f8f28 (diff)
downloadphp-git-85ac5643ff07e07e40df89510726e1bc66e6a50b.tar.gz
Fix INI setting member name
Since the member is not used in `OnUpdateEol()` that's not really an issue, but still it's confusing to apparently have two INI settings targeting the same member.
-rw-r--r--sapi/phpdbg/phpdbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 03aaf54431..648627d56c 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -71,7 +71,7 @@ static PHP_INI_MH(OnUpdateEol)
PHP_INI_BEGIN()
STD_PHP_INI_ENTRY("phpdbg.path", "", PHP_INI_SYSTEM | PHP_INI_PERDIR, OnUpdateString, socket_path, zend_phpdbg_globals, phpdbg_globals)
- STD_PHP_INI_ENTRY("phpdbg.eol", "2", PHP_INI_ALL, OnUpdateEol, socket_path, zend_phpdbg_globals, phpdbg_globals)
+ STD_PHP_INI_ENTRY("phpdbg.eol", "2", PHP_INI_ALL, OnUpdateEol, eol, zend_phpdbg_globals, phpdbg_globals)
PHP_INI_END()
static zend_bool phpdbg_booted = 0;