spoolss: only reload printers on pcap update message
authorDavid Disseldorp <ddiss@samba.org>
Fri, 15 Feb 2013 11:17:53 +0000 (12:17 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 26 Apr 2013 07:25:02 +0000 (09:25 +0200)
commit1c4af29ea41e200ef942fedbcf58fbd0f665d303
tree2120eb6e8c5bb494f5cf924cb9cfb4847ed53ae3
parent2ce6b4a78efa548720566bf84e5f2b81337bffd7
spoolss: only reload printers on pcap update message

Printcap cache updates are the responsibility of the background
printing process, which after doing so broadcasts a MSG_PRINTER_PCAP
message. Spoolssd should only reload printers after receiving such a
message.
(cherry picked from commit c30c66d8b5b4ebbde1b148c51310e336f29ca04e)
source3/printing/spoolssd.c