diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:03:17 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:42 -0800 |
commit | 63c92f7e986ed1e6e0e81f60ec9df2728836d287 (patch) | |
tree | bbea917a703080574483c28652df4f744051af76 /source3/param/loadparm.c | |
parent | d7b18d1e56418cd5419656dd24b706857235869d (diff) | |
download | samba-63c92f7e986ed1e6e0e81f60ec9df2728836d287.tar.gz samba-63c92f7e986ed1e6e0e81f60ec9df2728836d287.tar.xz samba-63c92f7e986ed1e6e0e81f60ec9df2728836d287.zip |
param: Rename variable used for lp_readonly bRead_only
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 1f6bd050ac..7b2fe9bc12 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -213,7 +213,7 @@ static struct loadparm_service sDefault = .browseable = true, .bAccessBasedShareEnum = false, .bAvailable = true, - .bRead_only = true, + .readonly = true, .bGuest_only = false, .bAdministrative_share = false, .bGuest_ok = false, @@ -1742,7 +1742,7 @@ static bool lp_add_ipc(const char *ipc_name, bool guest_ok) string_set(&ServicePtrs[i]->fstype, "IPC"); ServicePtrs[i]->iMaxConnections = 0; ServicePtrs[i]->bAvailable = true; - ServicePtrs[i]->bRead_only = true; + ServicePtrs[i]->readonly = true; ServicePtrs[i]->bGuest_only = false; ServicePtrs[i]->bAdministrative_share = true; ServicePtrs[i]->bGuest_ok = guest_ok; @@ -1780,7 +1780,7 @@ bool lp_add_printer(const char *pszPrintername, int iDefaultService) ServicePtrs[i]->browseable = sDefault.browseable; /* Printers cannot be read_only. */ - ServicePtrs[i]->bRead_only = false; + ServicePtrs[i]->readonly = false; /* No oplocks on printer services. */ ServicePtrs[i]->bOpLocks = false; /* Printer services must be printable. */ @@ -4446,7 +4446,7 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i added_service = true; /* Read only is controlled by usershare ACL below. */ - ServicePtrs[iService]->bRead_only = false; + ServicePtrs[iService]->readonly = false; } /* Write the ACL of the new/modified share. */ |