Modified: trunk/launchd/src/launchctl.c (23919 => 23920)
--- trunk/launchd/src/launchctl.c 2009-05-02 03:04:04 UTC (rev 23919)
+++ trunk/launchd/src/launchctl.c 2009-05-09 21:26:34 UTC (rev 23920)
@@ -1299,7 +1299,7 @@
if (mgroup) {
do_mgroup_join(sfd, res->ai_family, res->ai_socktype, res->ai_protocol, mgroup);
}
- if ((res->ai_socktype == SOCK_STREAM || res->ai_socktype == SOCK_SEQPACKET) && listen(sfd, SOMAXCONN) == -1) {
+ if ((res->ai_socktype == SOCK_STREAM || res->ai_socktype == SOCK_SEQPACKET) && listen(sfd, -1) == -1) {
fprintf(stderr, "listen(): %s\n", strerror(errno));
return;
}