mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fix possibly unsupported timercmp() usage
This commit is contained in:
commit
34ede22fd8
@ -918,7 +918,7 @@ skip_bind:
|
||||
if (timeout) {
|
||||
gettimeofday(&time_now, NULL);
|
||||
|
||||
if (timercmp(&time_now, &limit_time, >=)) {
|
||||
if (!timercmp(&time_now, &limit_time, <)) {
|
||||
/* time limit expired; don't attempt any further connections */
|
||||
fatal = 1;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user