summaryrefslogtreecommitdiff
path: root/source4/smb_server/management.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/management.c')
-rw-r--r--source4/smb_server/management.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/management.c b/source4/smb_server/management.c
index d158947ba4..19e2090682 100644
--- a/source4/smb_server/management.c
+++ b/source4/smb_server/management.c
@@ -71,7 +71,7 @@ static NTSTATUS smbsrv_tcon_information(struct irpc_message *msg,
struct smbsrv_tcon *tcon;
/* count the number of tcons */
- for (tcon=smb_conn->tcons.list; tcon; tcon=tcon->next) {
+ for (tcon=smb_conn->smb_tcons.list; tcon; tcon=tcon->next) {
count++;
}
@@ -79,7 +79,7 @@ static NTSTATUS smbsrv_tcon_information(struct irpc_message *msg,
r->out.info.tcons.tcons = talloc_array(r, struct smbsrv_tcon_info, count);
NT_STATUS_HAVE_NO_MEMORY(r->out.info.tcons.tcons);
- for (tcon=smb_conn->tcons.list; tcon; tcon=tcon->next) {
+ for (tcon=smb_conn->smb_tcons.list; tcon; tcon=tcon->next) {
struct smbsrv_tcon_info *info = &r->out.info.tcons.tcons[i];
info->tid = tcon->tid;
info->share_name = lp_servicename(tcon->service);