From 7fd381376f88ae99a4bf022d89f21ae497b48c1a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Oct 2003 08:32:26 +0000 Subject: - a few portability fixes from Jim Myers - added SMBD_LISTEN_BACKLOG in local.h - added the beginnings of a ndr/rpc parsing framework for Samba4. It currently correctly parses security descriptors for the nttrans QUERY_SECDESC call, but I hope it will become a reasonable framework that an idl based generator can work to (This used to be commit 9bf904fc34f88e0581f93656e73d3c01ca96f761) --- source4/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smbd/server.c') diff --git a/source4/smbd/server.c b/source4/smbd/server.c index ae1566b5ac..65ead2f4ce 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -63,7 +63,7 @@ static void add_socket(struct event_context *events, set_socket_options(fde.fd, "SO_KEEPALIVE"); set_socket_options(fde.fd, lp_socket_options()); - if (listen(fde.fd, 10) == -1) { + if (listen(fde.fd, SMBD_LISTEN_BACKLOG) == -1) { DEBUG(0,("Failed to listen on %s:%d - %s\n", inet_ntoa(*ifip), port, strerror(errno))); close(fde.fd); -- cgit