diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-15 11:10:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-16 22:39:24 +0200 |
commit | 4a27c10903a90604c354dc335a7e42c15b798a1d (patch) | |
tree | d415f6ddfdda1777b90efda535da5ad3506e7302 /source3 | |
parent | 897d09174d541a2fcdb35b424167c78b0c5fcce3 (diff) | |
download | samba-4a27c10903a90604c354dc335a7e42c15b798a1d.tar.gz samba-4a27c10903a90604c354dc335a7e42c15b798a1d.tar.bz2 samba-4a27c10903a90604c354dc335a7e42c15b798a1d.zip |
s3: Remove smbd_server_fd() from make_connection
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 0ebf87f3a6..c1b6d21dc5 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -1106,7 +1106,6 @@ connection_struct *make_connection(struct smbd_server_connection *sconn, fstring service; fstring dev; int snum = -1; - char addr[INET6_ADDRSTRLEN]; fstrcpy(dev, pdev); @@ -1207,7 +1206,8 @@ connection_struct *make_connection(struct smbd_server_connection *sconn, DEBUG(3,("%s (%s) couldn't find service %s\n", get_remote_machine_name(), - client_addr(smbd_server_fd(),addr,sizeof(addr)), + tsocket_address_string( + sconn->remote_address, talloc_tos()), service)); *status = NT_STATUS_BAD_NETWORK_NAME; return NULL; |