]> granicus.if.org Git - php/commitdiff
Suppress already used warning
authorMizunashi Mana <mizunashi-mana@noreply.git>
Fri, 9 Nov 2018 06:53:15 +0000 (15:53 +0900)
committerPeter Kokot <peterkokot@gmail.com>
Fri, 9 Nov 2018 10:09:16 +0000 (11:09 +0100)
ext/sockets/tests/socket_getpeername_ipv6loop.phpt

index a4965a8601cbe7a04e2ca2820627406f977f61ac..73a5a6641017b3f621419b07c85cfe093dcafe3d 100644 (file)
@@ -25,7 +25,7 @@ require 'ipv6_skipif.inc';
        $maxport = 31356;
        $bound = false;
        for($port = $minport; $port <= $maxport; ++$port) {
-               if (socket_bind($server, $localhost, $port)) {
+               if (@socket_bind($server, $localhost, $port)) {
                        $bound = true;
                        break;
                }