summaryrefslogtreecommitdiff
path: root/source4/smb_server/service.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-09-13 13:13:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:44 -0500
commit360f125f255fd7d5a172d012c00b3cfbff5a6989 (patch)
treee923d87fa67562dca791eecd450ea10243fbc389 /source4/smb_server/service.c
parentcff1f3e8a961ffc15c09ef5de1aa965122e6e4f6 (diff)
downloadsamba-360f125f255fd7d5a172d012c00b3cfbff5a6989.tar.gz
samba-360f125f255fd7d5a172d012c00b3cfbff5a6989.tar.bz2
samba-360f125f255fd7d5a172d012c00b3cfbff5a6989.zip
r2326: remove definition and usage of struct socket_context
metze (This used to be commit 1854907da8d577db41de9aa14573d5c8c0092f47)
Diffstat (limited to 'source4/smb_server/service.c')
-rw-r--r--source4/smb_server/service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/smb_server/service.c b/source4/smb_server/service.c
index e42b803690..54e96476fe 100644
--- a/source4/smb_server/service.c
+++ b/source4/smb_server/service.c
@@ -249,7 +249,8 @@ close a cnum
void close_cnum(struct smbsrv_tcon *tcon)
{
DEBUG(3,("%s closed connection to service %s\n",
- tcon->smb_conn->connection->socket->client_addr, lp_servicename(SNUM(tcon))));
+ get_socket_addr(tcon, tcon->smb_conn->connection->event.fde->fd),
+ lp_servicename(SNUM(tcon))));
/* tell the ntvfs backend that we are disconnecting */
tcon->ntvfs_ops->disconnect(tcon);