From 3e1b2742db818629fb79d12d40279db8dd575279 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Apr 2005 09:54:58 +0000 Subject: [PATCH] r6530: the server ID of a connection in the single process model should be based on the new socket fd, not the listening socket! this fixes locktest with -M single --- source/smbd/process_single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/process_single.c b/source/smbd/process_single.c index 8d26481a951..56b074a6294 100644 --- a/source/smbd/process_single.c +++ b/source/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); } /* -- 2.34.1