summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sockets/tests/socket_create_listen-nobind.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/tests/socket_create_listen-nobind.phpt b/ext/sockets/tests/socket_create_listen-nobind.phpt
index c23ed5b642..bdd4d3dc2a 100644
--- a/ext/sockets/tests/socket_create_listen-nobind.phpt
+++ b/ext/sockets/tests/socket_create_listen-nobind.phpt
@@ -14,7 +14,7 @@ if (fileowner($filename) == 0) {
}
--FILE--
<?php
-$sock = socket_create_listen(80);
+$sock = socket_create_listen(PHP_OS == "Darwin" ? 427 : 80);
--EXPECTF--
Warning: socket_create_listen(): unable to bind to given address [13]: Permission denied in %s on line %d
--CLEAN--