summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/printing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 1e0d61df32..b473c9492f 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2027,7 +2027,8 @@ bool print_job_get_name(TALLOC_CTX *mem_ctx, const char *sharename, uint32_t job
return false;
}
- return pjob->jobname;
+ *name = pjob->jobname;
+ return true;
}