summaryrefslogtreecommitdiffstats
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:07 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:14 -0800
commit77d04917f79fa64733a3af17efce40926107d4e6 (patch)
tree46660596124523c01405afe90c833dd07d5975f4 /source3/utils/testparm.c
parentcf6f3585634b2ad65917056eb739ed59e506e823 (diff)
downloadsamba-77d04917f79fa64733a3af17efce40926107d4e6.tar.gz
samba-77d04917f79fa64733a3af17efce40926107d4e6.tar.xz
samba-77d04917f79fa64733a3af17efce40926107d4e6.zip
param: rename lp function and variable from "printcommand" to "print_command"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index bf024c6bab..afca8f83c4 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -415,7 +415,7 @@ static void do_per_share_checks(int s)
"excludes octal 010 (S_IXGRP).\n\n",
lp_servicename(talloc_tos(), s));
}
- if (lp_printing(s) == PRINT_CUPS && *(lp_printcommand(talloc_tos(), s)) != '\0') {
+ if (lp_printing(s) == PRINT_CUPS && *(lp_print_command(talloc_tos(), s)) != '\0') {
fprintf(stderr,
"Warning: Service %s defines a print command, but "
"parameter is ignored when using CUPS libraries.\n\n",