summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-04-03 18:05:33 +0000
committerJeremy Allison <jra@samba.org>2000-04-03 18:05:33 +0000
commit68b1382ae2095c69b897086ca1dce3f60fea9a31 (patch)
tree96074fe04c774360022d4be12814e29fa6eef928
parenta49d86ccc19e24e97ea46b674de5528b7013b0d7 (diff)
downloadsamba-68b1382ae2095c69b897086ca1dce3f60fea9a31.tar.gz
samba-68b1382ae2095c69b897086ca1dce3f60fea9a31.tar.bz2
samba-68b1382ae2095c69b897086ca1dce3f60fea9a31.zip
Fix for spoolss code from Alan Hourihane <Alan.Hourihane@pinacl.co.uk>.
Jeremy. (This used to be commit 33aa541e89ebe2e6a7c1808cea6dc7128bdb0587)
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index a2a8d728d9..28e032cabc 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1290,7 +1290,7 @@ BOOL get_specific_param_by_index(NT_PRINTER_INFO_LEVEL printer, uint32 level, ui
param=printer.info_2->specific;
- while (param != NULL && i < param_index)
+ while (param != NULL && i <= param_index)
{
param=param->next;
i++;