From 7b03af89637bcfad343e4d2aa8aad11fe2bbd55a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Apr 2005 09:54:58 +0000 Subject: 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 (This used to be commit 3e1b2742db818629fb79d12d40279db8dd575279) --- source4/smbd/process_single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smbd/process_single.c') 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); } /* -- cgit