summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:22 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:44 -0800
commit8989309382e47cf0a2f23e2b0a0a7a767da37568 (patch)
tree9a118b6cf01112819246676ae2fc926f599c0ef8 /source3
parent042a1bf8fe2fb0b237c5d3107c78c4bc9ab94426 (diff)
downloadsamba-8989309382e47cf0a2f23e2b0a0a7a767da37568.tar.gz
samba-8989309382e47cf0a2f23e2b0a0a7a767da37568.tar.xz
samba-8989309382e47cf0a2f23e2b0a0a7a767da37568.zip
param: Rename variable used for lp_lpqcommand szLpqcommand
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')
-rw-r--r--source3/param/loadparm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 443b6b4a20..d6dcca2cfa 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -159,7 +159,7 @@ static struct loadparm_service sDefault =
.rootpostexec = NULL,
.szCupsOptions = NULL,
.printcommand = NULL,
- .szLpqcommand = NULL,
+ .lpqcommand = NULL,
.szLprmcommand = NULL,
.szLppausecommand = NULL,
.szLpresumecommand = NULL,
@@ -385,14 +385,14 @@ static void init_printer_values(struct loadparm_service *pService)
case PRINT_AIX:
case PRINT_LPRNT:
case PRINT_LPROS2:
- string_set(&pService->szLpqcommand, "lpq -P'%p'");
+ string_set(&pService->lpqcommand, "lpq -P'%p'");
string_set(&pService->szLprmcommand, "lprm -P'%p' %j");
string_set(&pService->printcommand, "lpr -r -P'%p' %s");
break;
case PRINT_LPRNG:
case PRINT_PLP:
- string_set(&pService->szLpqcommand, "lpq -P'%p'");
+ string_set(&pService->lpqcommand, "lpq -P'%p'");
string_set(&pService->szLprmcommand, "lprm -P'%p' %j");
string_set(&pService->printcommand, "lpr -r -P'%p' %s");
string_set(&pService->szQueuepausecommand, "lpc stop '%p'");
@@ -405,7 +405,7 @@ static void init_printer_values(struct loadparm_service *pService)
case PRINT_IPRINT:
/* set the lpq command to contain the destination printer
name only. This is used by cups_queue_get() */
- string_set(&pService->szLpqcommand, "%p");
+ string_set(&pService->lpqcommand, "%p");
string_set(&pService->szLprmcommand, "");
string_set(&pService->printcommand, "");
string_set(&pService->szLppausecommand, "");
@@ -416,7 +416,7 @@ static void init_printer_values(struct loadparm_service *pService)
case PRINT_SYSV:
case PRINT_HPUX:
- string_set(&pService->szLpqcommand, "lpstat -o%p");
+ string_set(&pService->lpqcommand, "lpstat -o%p");
string_set(&pService->szLprmcommand, "cancel %p-%j");
string_set(&pService->printcommand, "lp -c -d%p %s; rm %s");
string_set(&pService->szQueuepausecommand, "disable %p");
@@ -428,7 +428,7 @@ static void init_printer_values(struct loadparm_service *pService)
break;
case PRINT_QNX:
- string_set(&pService->szLpqcommand, "lpq -P%p");
+ string_set(&pService->lpqcommand, "lpq -P%p");
string_set(&pService->szLprmcommand, "lprm -P%p %j");
string_set(&pService->printcommand, "lp -r -P%p %s");
break;
@@ -456,7 +456,7 @@ static void init_printer_values(struct loadparm_service *pService)
tmp = talloc_asprintf(tmp_ctx, "vlp %s lpq %%p",
tdbfile);
- string_set(&pService->szLpqcommand,
+ string_set(&pService->lpqcommand,
tmp ? tmp : "vlp lpq %p");
tmp = talloc_asprintf(tmp_ctx, "vlp %s lprm %%p %%j",