mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
make this work under OSX
This commit is contained in:
parent
1f470ecca6
commit
1c7e920a9e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user