mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
e081db0410
commit
efbb2198d4
10 changed files with 22 additions and 44 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue