summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: