summaryrefslogtreecommitdiff
path: root/source/printing
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-12-03 03:37:02 +0000
committerAndrew Tridgell <tridge@samba.org>1997-12-03 03:37:02 +0000
commit7a88bed4a5ca8afe1f2836f7f9a019db01bf998e (patch)
tree2bdd72b25c034208e27af4c8d994d184b33a0987 /source/printing
parentafe88facbfb85113105bf516e066b6c1e971f6b7 (diff)
downloadsamba-7a88bed4a5ca8afe1f2836f7f9a019db01bf998e.tar.gz
make the "printing" option a per share option rather than global. When
printing to lots of different sorts of remote printers this is useful
Diffstat (limited to 'source/printing')
-rw-r--r--source/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c
index 040bb8c4970..ccca91a2531 100644
--- a/source/printing/printing.c
+++ b/source/printing/printing.c
@@ -832,7 +832,7 @@ static BOOL parse_lpq_entry(int snum,char *line,
{
BOOL ret;
- switch (lp_printing())
+ switch (lp_printing(snum))
{
case PRINT_SYSV:
ret = parse_lpq_sysv(line,buf,first);