summaryrefslogtreecommitdiff
path: root/ctdb/common/sock_daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/common/sock_daemon.c')
-rw-r--r--ctdb/common/sock_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/sock_daemon.c b/ctdb/common/sock_daemon.c
index 6298653f4ec..7d026515d68 100644
--- a/ctdb/common/sock_daemon.c
+++ b/ctdb/common/sock_daemon.c
@@ -371,7 +371,7 @@ static void sock_socket_start_new_client(struct tevent_req *subreq)
struct sock_client *client;
int client_fd, ret;
- client_fd = accept_recv(subreq, NULL, NULL, &ret);
+ client_fd = accept_recv(subreq, NULL, &ret);
TALLOC_FREE(subreq);
if (client_fd == -1) {
D_ERR("failed to accept new connection\n");