summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 62f0e5695b..89b191e715 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2320,7 +2320,7 @@ static void smbd_server_connection_handler(struct event_context *ev,
return;
}
if (flags & EVENT_FD_READ) {
- smbd_server_connection_read_handler(conn, smbd_server_fd());
+ smbd_server_connection_read_handler(conn, conn->sock);
return;
}
}