summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 3c79dc46f9..7b9075338e 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -59,6 +59,7 @@ int smbd_server_fd(void)
static void smbd_set_server_fd(int fd)
{
+ smbd_server_conn->sock = fd;
server_fd = fd;
}