diff options
author | Michael Adam <obnox@samba.org> | 2014-02-02 14:53:44 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-03 13:27:20 +1300 |
commit | 4b403e912dbff0ac4ca7cc9e76872d314a86da37 (patch) | |
tree | 4bbced7f7564681c095f2a4484ee7efe3a7d0915 /lib/param/loadparm.c | |
parent | 4286e147a62af784f4661cdd9d668e4d86cba4f2 (diff) | |
download | samba-4b403e912dbff0ac4ca7cc9e76872d314a86da37.tar.gz samba-4b403e912dbff0ac4ca7cc9e76872d314a86da37.tar.xz samba-4b403e912dbff0ac4ca7cc9e76872d314a86da37.zip |
loadparm: rename variable for "printable" from print_ok to printable
for consistency docs/funcstions/variables
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'lib/param/loadparm.c')
-rw-r--r-- | lib/param/loadparm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 81d8d1f010..263f585e23 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -789,7 +789,7 @@ bool lpcfg_add_printer(struct loadparm_context *lp_ctx, /* Printers cannot be read_only. */ service->read_only = false; /* Printer services must be printable. */ - service->print_ok = true; + service->printable = true; DEBUG(3, ("adding printer service %s\n", pszPrintername)); @@ -1011,10 +1011,10 @@ static bool lpcfg_service_ok(struct loadparm_service *service) /* The [printers] entry MUST be printable. I'm all for flexibility, but */ /* I can't see why you'd want a non-printable printer service... */ if (strwicmp(service->szService, PRINTERS_NAME) == 0) { - if (!service->print_ok) { + if (!service->printable) { DEBUG(0, ("WARNING: [%s] service MUST be printable!\n", service->szService)); - service->print_ok = true; + service->printable = true; } /* [printers] service must also be non-browsable. */ if (service->browseable) |