summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_spoolss.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/cli_spoolss.c')
-rw-r--r--source3/libsmb/cli_spoolss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/cli_spoolss.c b/source3/libsmb/cli_spoolss.c
index 6b1a5ff249..e6a6bf5258 100644
--- a/source3/libsmb/cli_spoolss.c
+++ b/source3/libsmb/cli_spoolss.c
@@ -439,6 +439,8 @@ NTSTATUS cli_spoolss_enum_printers(
goto done;
}
+ result = NT_STATUS_OK;
+
if ((*returned = r.returned)) {
switch (level) {
case 1: