summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_single.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/process_single.c b/source4/smbd/process_single.c
index 8d26481a95..56b074a629 100644
--- a/source4/smbd/process_single.c
+++ b/source4/smbd/process_single.c
@@ -56,7 +56,7 @@ static void single_accept_connection(struct event_context *ev,
talloc_steal(private, sock);
- new_conn(ev, sock2, socket_get_fd(sock), private);
+ new_conn(ev, sock2, socket_get_fd(sock2), private);
}
/*