uuidd: increase connection backlog size to SOMAXCONN

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
This commit is contained in:
Petr Uzel 2011-02-03 15:04:57 +01:00 committed by Karel Zak
parent 386749317e
commit 2307a2b9ea
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path,
}
(void) umask(save_umask);
if (listen(s, 5) < 0) {
if (listen(s, SOMAXCONN) < 0) {
if (!quiet)
fprintf(stderr, _("Couldn't listen on unix "
"socket %s: %s\n"), socket_path,