summaryrefslogtreecommitdiff
path: root/source3/smbd/connection.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-16 09:39:29 +0200
committerVolker Lendecke <vl@samba.org>2010-08-18 11:18:23 +0200
commit6d10684556e9f9e847ec03dd8af057e8d4558e35 (patch)
tree30b3e7e04a3c43582a0053fa133f7e322b77b899 /source3/smbd/connection.c
parent7b6835ec1da127713d0a412edcbe0a3c1bcc6192 (diff)
downloadsamba-6d10684556e9f9e847ec03dd8af057e8d4558e35.tar.gz
s3: Remove unneeded "client_address" from connection_struct
Diffstat (limited to 'source3/smbd/connection.c')
-rw-r--r--source3/smbd/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c
index f4f4fc217ba..9b766d586e1 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);