summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_srvsvc_nt.c
diff options
context:
space:
mode:
authorAndreas Schneider <anschneider@suse.de>2008-02-28 14:06:11 +0100
committerKarolin Seeger <kseeger@samba.org>2008-02-29 16:07:35 +0100
commitf22531b65d88d633e9b217cd4109d9e899c09d1e (patch)
tree833c37598695030655bed6bf51386765825ba69d /source3/rpc_server/srv_srvsvc_nt.c
parentfbc514eb31cec1b67dced74cbe09457d43b67b12 (diff)
downloadsamba-f22531b65d88d633e9b217cd4109d9e899c09d1e.tar.gz
samba-f22531b65d88d633e9b217cd4109d9e899c09d1e.tar.bz2
samba-f22531b65d88d633e9b217cd4109d9e899c09d1e.zip
Rename the 'hidden' variable to 'administrative share'.
(cherry picked from commit eff3d3bad5a8860b99375cc0be9dc24f3679e416) (This used to be commit 39f712048d7408ba91301b59752f2e87e894a3f0)
Diffstat (limited to 'source3/rpc_server/srv_srvsvc_nt.c')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 37bd204f75..8a25b6cfd5 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -232,7 +232,7 @@ static uint32 get_share_type(int snum)
type = STYPE_PRINTQ;
if (strequal(lp_fstype(snum), "IPC"))
type = STYPE_IPC;
- if (lp_hidden(snum))
+ if (lp_administrative_share(snum))
type |= STYPE_HIDDEN;
return type;