summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-30 17:05:17 +0200
committerGünther Deschner <gd@samba.org>2010-04-30 17:06:58 +0200
commit82d4e858eaa443a17511d2d6be1c627b2b1c5072 (patch)
tree92469c32f86bf83861c2eb288e77e418cf42b378 /source4
parent400c07f0de19b6cc7da39b9c6d0a42eeed0b4ea1 (diff)
downloadsamba-82d4e858eaa443a17511d2d6be1c627b2b1c5072.tar.gz
samba-82d4e858eaa443a17511d2d6be1c627b2b1c5072.tar.bz2
samba-82d4e858eaa443a17511d2d6be1c627b2b1c5072.zip
s4-smbtorture: fix smbcli_rap_netprintjobenum().
It is just fine for a printq to have no pending jobs. Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rap/rap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c
index ede48b1a5d..c0028cdfa7 100644
--- a/source4/torture/rap/rap.c
+++ b/source4/torture/rap/rap.c
@@ -1157,6 +1157,8 @@ NTSTATUS smbcli_rap_netprintjobenum(struct smbcli_tree *tree,
goto done;
}
+ result = NT_STATUS_OK;
+
for (i=0; i<r->out.count; i++) {
switch(r->in.level) {
case 0: