summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
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
commit11d7f4a2aa01d5bd010fd18934c2516f39a41e3c (patch)
tree5850891085fca2c91ef9b77a98163648e0c448d6 /source3/printing/printing.c
parentcc12fc66d1f958c3c04d6f106b4e9128f6bce925 (diff)
downloadsamba-11d7f4a2aa01d5bd010fd18934c2516f39a41e3c.tar.gz
samba-11d7f4a2aa01d5bd010fd18934c2516f39a41e3c.tar.bz2
samba-11d7f4a2aa01d5bd010fd18934c2516f39a41e3c.zip
make the "printing" option a per share option rather than global. When
printing to lots of different sorts of remote printers this is useful (This used to be commit 7a88bed4a5ca8afe1f2836f7f9a019db01bf998e)
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 040bb8c497..ccca91a253 100644
--- a/source3/printing/printing.c
+++ b/source3/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);