summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-06-27 01:23:57 +0200
committerDavid Disseldorp <ddiss@samba.org>2012-06-27 04:04:56 +0200
commit082b90674ac53d9ddea1c1e01443e6bf986528a9 (patch)
treee3828f45b74432ab3d2a423eab78ac7f5b58e281 /source3/printing
parentefa73ba52aa8d7e2dada74c422d22508c3b5703e (diff)
downloadsamba-082b90674ac53d9ddea1c1e01443e6bf986528a9.tar.gz
samba-082b90674ac53d9ddea1c1e01443e6bf986528a9.tar.bz2
samba-082b90674ac53d9ddea1c1e01443e6bf986528a9.zip
s3-printing: fix broken print_job_get_name() return
Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Jun 27 04:04:56 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/printing')
-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;
}