diff options
author | Michael Adam <obnox@samba.org> | 2014-02-02 14:48:41 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-03 13:27:15 +1300 |
commit | 4286e147a62af784f4661cdd9d668e4d86cba4f2 (patch) | |
tree | f332233b28f3021ff2396104a8d8dd147d2f609a /source3/smbd/lanman.c | |
parent | 0cdb0f899809b624b5b5b234acdf974ac14a8d13 (diff) | |
download | samba-4286e147a62af784f4661cdd9d668e4d86cba4f2.tar.gz |
loadparm: rename lp[cfg]_print_ok to lp[cfg]_printable for consistency with docs
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 'source3/smbd/lanman.c')
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index d0cf6ad3785..9ff250f5c0f 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1945,7 +1945,7 @@ static int fill_share_info(connection_struct *conn, int snum, int uLevel, SCVAL(p,13,0); type = STYPE_DISKTREE; - if (lp_print_ok(snum)) { + if (lp_printable(snum)) { type = STYPE_PRINTQ; } if (strequal("IPC",lp_fstype(talloc_tos(),snum))) { |