diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 6b9e50b3..ce8cbf7d 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -1120,7 +1120,7 @@ _dbus_listen_unix_socket (const char *path, return -1; } - if (listen (listen_fd, 30 /* backlog */) < 0) + if (listen (listen_fd, SOMAXCONN /* backlog */) < 0) { dbus_set_error (error, _dbus_error_from_errno (errno), "Failed to listen on socket \"%s\": %s",