summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-07-07 21:43:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:09 -0500
commitd90c4a046203f6218e36a2b5f06742a7a4eae8b1 (patch)
tree7b61db8f105e6d8e2e681d6d3d6f824b7fccd170 /source3/printing
parent02001dfb6c3ffe3091001aeaa17e3d0b48933cfd (diff)
downloadsamba-d90c4a046203f6218e36a2b5f06742a7a4eae8b1.tar.gz
samba-d90c4a046203f6218e36a2b5f06742a7a4eae8b1.tar.bz2
samba-d90c4a046203f6218e36a2b5f06742a7a4eae8b1.zip
r1384: ensure we remove the tdb entry for a job in the spooling state
(This used to be commit bc8cf6c852617b266f6dabed84bbd912a188f3a3)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 8beea9d0ce..10ca7e47e7 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -600,7 +600,6 @@ void pjob_delete(int snum, uint32 jobid)
tdb_delete(pdb->tdb, print_key(jobid));
release_print_db(pdb);
rap_jobid_delete(snum, jobid);
- remove_from_jobs_changed( snum, jobid );
}
/****************************************************************************
@@ -1685,8 +1684,6 @@ pause, or resume print job. User name: %s. Printer name: %s.",
*errcode = map_werror_from_unix(errno);
return False;
}
-
- return True;
}
if (!print_job_delete1(snum, jobid)) {