r6530: the server ID of a connection in the single process model should be
[samba.git] / source / smbd / process_single.c
index 8d26481a951c827fc494bdb9ea917f5a1deb112f..56b074a629491d41a8100fd0a39ee2fb37f8f7be 100644 (file)
@@ -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);
 }
 
 /*