Browse Source

Oops, forgot to remove those .. thought I had..

PHP-4.0.5
Chris Vandomelen 26 years ago
parent
commit
4f1a8a763a
  1. 11
      ext/sockets/sockets.c

11
ext/sockets/sockets.c

@ -1402,11 +1402,6 @@ PHP_FUNCTION(recvfrom)
RETURN_LONG(-errno);
}
if (Z_LVAL_PP(flags) & 0xf0000000) {
Z_LVAL_PP(flags) &= ~0xf0000000;
php_error(E_WARNING, "This platform does not support the MSG_WAITALL flag..");
}
switch (sa.sa_family)
{
case AF_UNIX:
@ -1630,12 +1625,6 @@ PHP_FUNCTION(recvmsg)
convert_to_long_ex(port);
}
if (Z_LVAL_PP(flags) & 0xf0000000) {
Z_LVAL_PP(flags) &= ~0xf0000000;
php_error(E_WARNING, "This platform does not support the MSG_WAITALL flag..");
}
ZEND_FETCH_RESOURCE(iov, php_iovec_t *, iovec, -1, "IO vector table", SOCKETSG(le_iov));
ret = getsockname(Z_LVAL_PP(fd), &sa, &salen);

Loading…
Cancel
Save