From 6d10684556e9f9e847ec03dd8af057e8d4558e35 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 16 Aug 2010 09:39:29 +0200 Subject: s3: Remove unneeded "client_address" from connection_struct --- source3/smbd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/connection.c') diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index f4f4fc217b..9b766d586e 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -147,7 +147,7 @@ bool claim_connection(connection_struct *conn, const char *name) crec.start = time(NULL); strlcpy(crec.machine,get_remote_machine_name(),sizeof(crec.machine)); - strlcpy(crec.addr, conn->client_address, sizeof(crec.addr)); + strlcpy(crec.addr, conn->sconn->client_id.addr, sizeof(crec.addr)); dbuf.dptr = (uint8 *)&crec; dbuf.dsize = sizeof(crec); -- cgit