summaryrefslogtreecommitdiff
path: root/source4/smb_server/conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/conn.c')
-rw-r--r--source4/smb_server/conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/conn.c b/source4/smb_server/conn.c
index 45c5376e25..6ca8e4286c 100644
--- a/source4/smb_server/conn.c
+++ b/source4/smb_server/conn.c
@@ -52,7 +52,7 @@ static int smbsrv_tcon_destructor(void *ptr)
DEBUG(3,("%s closed connection to service %s\n",
socket_get_peer_addr(tcon->smb_conn->connection->socket, tcon),
- lp_servicename(SNUM(tcon))));
+ lp_servicename(tcon->service)));
/* tell the ntvfs backend that we are disconnecting */
ntvfs_disconnect(tcon);