summaryrefslogtreecommitdiff
path: root/main/network.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-01-11 15:51:37 +0000
committerAntony Dovgal <tony2001@php.net>2007-01-11 15:51:37 +0000
commit7c92982b5b2968212e0b2c76e6ebebae1318f780 (patch)
treed1055ad9ddf1180869040ba64baa37db8da86a71 /main/network.c
parentf361d9e4f05f935b563824121f389a7356e5b1ec (diff)
downloadphp-git-7c92982b5b2968212e0b2c76e6ebebae1318f780.tar.gz
MFH
Diffstat (limited to 'main/network.c')
-rw-r--r--main/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/network.c b/main/network.c
index affbc55aed..d4bee77bdf 100644
--- a/main/network.c
+++ b/main/network.c
@@ -441,7 +441,7 @@ php_socket_t php_network_bind_socket_to_local_addr(const char *host, unsigned po
err = php_socket_errno();
}
- close(sock);
+ closesocket(sock);
}
sock = -1;
@@ -870,7 +870,7 @@ skip_bind:
#endif
}
- close(sock);
+ closesocket(sock);
}
sock = -1;