printing: fix purge of all print jobs
commit814b88cfc176436169700b597e576143a735c22b
authorDavid Disseldorp <ddiss@samba.org>
Wed, 21 May 2014 19:55:58 +0000 (21 21:55 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 2 Jun 2014 17:06:43 +0000 (2 19:06 +0200)
tree8a4267928fea9518a3663392a4c09a4091e04e0e
parentaf13e3e0a5d198e33ca0d104593e84b910ffc0af
printing: fix purge of all print jobs

The incorrect (system) jobid is currently passed to the job deletion
function.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10612

Reported-by: Franz Pförtsch <franz.pfoertsch@brose.com>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit efb4684a3fc0b32a71eab013000f730e6b144a67)

Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Mon Jun  2 19:06:43 CEST 2014 on sn-devel-104
source3/printing/printing.c