1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

param: Rename variable used for lp_store_dos_attributes bStoreDosAttributes

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andrew Bartlett 2013-12-24 16:03:30 +13:00 committed by Jeremy Allison
parent 56e9e7d9d8
commit 1265e25e7d
3 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ FN_LOCAL_BOOL(guest_ok, guest_ok)
FN_LOCAL_BOOL(guest_only, guest_only)
FN_LOCAL_BOOL(administrative_share, administrative_share)
FN_LOCAL_BOOL(print_notify_backchannel, print_notify_backchannel)
FN_LOCAL_BOOL(store_dos_attributes, bStoreDosAttributes)
FN_LOCAL_BOOL(store_dos_attributes, store_dos_attributes)
FN_LOCAL_BOOL(dmapi_support, bDmapiSupport)
FN_LOCAL_PARM_BOOL(locking, bLocking)
FN_LOCAL_PARM_INTEGER(strict_locking, iStrictLocking)

View File

@ -2559,7 +2559,7 @@ static struct parm_struct parm_table[] = {
.label = "store dos attributes",
.type = P_BOOL,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(bStoreDosAttributes),
.offset = LOCAL_VAR(store_dos_attributes),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,

View File

@ -222,7 +222,7 @@ static struct loadparm_service sDefault =
.map_system = false,
.map_hidden = false,
.map_archive = true,
.bStoreDosAttributes = false,
.store_dos_attributes = false,
.bDmapiSupport = false,
.bLocking = true,
.iStrictLocking = Auto,
@ -5386,7 +5386,7 @@ void set_store_dos_attributes(int snum, bool val)
{
if (!LP_SNUM_OK(snum))
return;
ServicePtrs[(snum)]->bStoreDosAttributes = val;
ServicePtrs[(snum)]->store_dos_attributes = val;
}
void lp_set_mangling_method(const char *new_method)