Return value from ZEND_ATOL

Instead of assigning it as part of the macro itself, which makes
usage quite awkward.
This commit is contained in:
Nikita Popov 2021-07-12 16:51:24 +02:00
parent e081db0410
commit efbb2198d4
10 changed files with 22 additions and 44 deletions

View file

@ -2382,7 +2382,7 @@ static void php_cli_server_startup_workers() {
}
#if HAVE_FORK
ZEND_ATOL(php_cli_server_workers_max, workers);
php_cli_server_workers_max = ZEND_ATOL(workers);
if (php_cli_server_workers_max > 1) {
zend_long php_cli_server_worker;