From d72e8aacaffeb2fbfb0a79c1a1a1ca10a52cf4bf Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 2 Dec 2005 07:02:38 +0000 Subject: r12012: fix renaming smbsrv_trees -> smbsrv_tcons metze (This used to be commit e5654f9791a2786e45108216344b2daea3ad9d91) --- source4/scripting/bin/smbstatus | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4') diff --git a/source4/scripting/bin/smbstatus b/source4/scripting/bin/smbstatus index d5610023d6..ea41289dce 100755 --- a/source4/scripting/bin/smbstatus +++ b/source4/scripting/bin/smbstatus @@ -47,18 +47,18 @@ function show_sessions() /* show open tree connects */ -function show_trees() +function show_tcons() { - var trees = smbsrv_trees(); + var tcons = smbsrv_tcons(); var sys = sys_init(); - if (trees == undefined) { + if (tcons == undefined) { println("No tree connects"); return; } printf("Share Client Connected at\n"); printf("-------------------------------------------------------------------------------\n"); - for (i=0;i