Rename the 'hidden' variable to 'administrative share'.
[ira/wip.git] / source / rpc_server / srv_srvsvc_nt.c
index 37bd204f7571a4f6a4c0ebf6cc2164f2d78fe99b..8a25b6cfd5134555ec31d3fe1950e2695c0cdddc 100644 (file)
@@ -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;