diff options
author | David Disseldorp <ddiss@samba.org> | 2012-06-27 01:23:57 +0200 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2012-06-27 04:04:56 +0200 |
commit | 082b90674ac53d9ddea1c1e01443e6bf986528a9 (patch) | |
tree | e3828f45b74432ab3d2a423eab78ac7f5b58e281 /source3/printing | |
parent | efa73ba52aa8d7e2dada74c422d22508c3b5703e (diff) | |
download | samba-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.c | 3 |
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; } |