[php-src] PR #13909: Avoid call to php_socket_errno() if possible
| From: | nielsdos | Date: | Sun, 07 Apr 2024 20:06:02 +0000 |
| Subject: | [php-src] PR #13909: Avoid call to php_socket_errno() if possible | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25664@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13909
Author: nielsdos
This call is only necessary if ret < 0.
Note that I also had to reoder the checks for EWOULDBLOCK, EMSGSIZE, EAGAIN to avoid a false
positive GCC warning about a duplicate condition (EAGAIN == EWOULDBLOCK on my system).