diff options
author | Gerald Carter <jerry@samba.org> | 2004-06-23 15:46:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:01 -0500 |
commit | 087868c49916e96cf860577144bc19b799fd720e (patch) | |
tree | 2852c94848b5b270a69aba3f6980f194d9f0fc29 /source3/printing | |
parent | adf65489bd358c4da73d3e5f23365ee2596dbe6d (diff) | |
download | samba-087868c49916e96cf860577144bc19b799fd720e.tar.gz samba-087868c49916e96cf860577144bc19b799fd720e.tar.bz2 samba-087868c49916e96cf860577144bc19b799fd720e.zip |
r1230: (merges from HP PSA) fixing a couple of caching bugs in the printing code. (a) make sure to clear jobs_changed list when deleting a job and, (b) invalidate the printer handle cache when we get a notification that something has changed on that printer
(This used to be commit e3d4fea7808abc77bfdb1a540ab18afe04af5030)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 670e489786..5814182b25 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -600,6 +600,7 @@ 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 ); } /**************************************************************************** |