git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400c07f
)
s4-smbtorture: fix smbcli_rap_netprintjobenum().
author
Günther Deschner
<gd@samba.org>
Fri, 30 Apr 2010 15:05:17 +0000
(17:05 +0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 30 Apr 2010 15:06:58 +0000
(17:06 +0200)
It is just fine for a printq to have no pending jobs.
Guenther
source4/torture/rap/rap.c
patch
|
blob
|
history
diff --git
a/source4/torture/rap/rap.c
b/source4/torture/rap/rap.c
index ede48b1a5d543e025984cf7cf75acb9d60c89c96..c0028cdfa7a6d6fe997f61c3a15aead626750a96 100644
(file)
--- 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: