diff options
author | Simo Sorce <idra@samba.org> | 2011-08-01 16:50:51 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-08-02 15:28:03 +0200 |
commit | 2e8a85ec72f2b23cc2b64caa129429971c2fa8c0 (patch) | |
tree | e82a80a21b2236fcf8f1b6d6cc6b666e9c18f816 /source3/smbd/process.c | |
parent | ac8096e69d7357bac5430cde1d713a04acf58b57 (diff) | |
download | samba-2e8a85ec72f2b23cc2b64caa129429971c2fa8c0.tar.gz samba-2e8a85ec72f2b23cc2b64caa129429971c2fa8c0.tar.bz2 samba-2e8a85ec72f2b23cc2b64caa129429971c2fa8c0.zip |
s3:smbd - Move printing queue stuff
This way we can properly deal with pcap updates in the background queue process
if it is enabled (on by default) and not perform these actions in the main
smbd process.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 9df95a8d9d..86e834789f 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -27,7 +27,7 @@ #include "../lib/async_req/async_sock.h" #include "ctdbd_conn.h" #include "../lib/util/select.h" -#include "printing/pcap.h" +#include "printing/queue_process.h" #include "system/select.h" #include "passdb.h" #include "auth.h" @@ -882,7 +882,7 @@ static void smbd_sig_hup_handler(struct tevent_context *ev, DEBUG(1,("Reloading services after SIGHUP\n")); reload_services(msg_ctx, smbd_server_conn->sock, False); if (am_parent) { - pcap_cache_reload(ev, msg_ctx, &reload_pcap_change_notify); + printing_subsystem_update(ev, msg_ctx); } } |