]> granicus.if.org Git - php/commit
Fix test on Windows.
authorGustavo Lopes <glopes@nebm.ist.utl.pt>
Sun, 3 Feb 2013 01:00:48 +0000 (02:00 +0100)
committerGustavo Lopes <glopes@nebm.ist.utl.pt>
Sun, 3 Feb 2013 01:03:00 +0000 (02:03 +0100)
commit8771c265a43dac2e44aa4ae7af66a6534b0c70ae
tree0fbd975684044a45fb96707abead1e0edee4feb8
parenta000920dfb099fac3b58ea344d33f4b6c3ee51a1
Fix test on Windows.

Windows complains of invalid parameters because the socket is not bound.
The test expected the error to be EAGAIN/EWOULDBLOCK. Moved the call down,
after the socket is bound.
ext/sockets/tests/socket_sentto_recvfrom_ipv4_udp.phpt