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 /lib/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 'lib/param/loadparm.c')
-rw-r--r-- | lib/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index a7d96c65f7..5b7ed1c646 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -789,7 +789,7 @@ bool lpcfg_add_printer(struct loadparm_context *lp_ctx, lpcfg_string_set(service, &service->comment, comment); service->browseable = default_service->browseable; /* Printers cannot be read_only. */ - service->bRead_only = false; + service->readonly = false; /* Printer services must be printable. */ service->bPrint_ok = true; @@ -2051,7 +2051,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lp_ctx->sDefault->iMaxPrintJobs = 1000; lp_ctx->sDefault->bAvailable = true; lp_ctx->sDefault->browseable = true; - lp_ctx->sDefault->bRead_only = true; + lp_ctx->sDefault->readonly = true; lp_ctx->sDefault->bMap_archive = true; lp_ctx->sDefault->iStrictLocking = true; lp_ctx->sDefault->bOpLocks = true; |