make this work under OSX

This commit is contained in:
Sterling Hughes 2001-10-05 07:12:27 +00:00
parent 1f470ecca6
commit 1c7e920a9e

View File

@ -1103,6 +1103,8 @@ PHP_FUNCTION(socket_bind)
struct sockaddr_in sa;
struct hostent *hp;
memset(&sa, 0, sizeof(sa));
if (argc != 3) {
WRONG_PARAM_COUNT;
}