diff options
Diffstat (limited to 'source3/rpc_server/spoolss')
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index ec6f49e718..a2f8d68665 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -283,15 +283,6 @@ static void srv_spoolss_replycloseprinter(int snum, if (prn_hnd->notify.msg_ctx != NULL) { messaging_deregister(prn_hnd->notify.msg_ctx, MSG_PRINTER_NOTIFY2, NULL); - - /* - * Tell the serverid.tdb we're no longer - * interested in printer notify messages. - */ - - serverid_register_msg_flags( - messaging_server_id(prn_hnd->notify.msg_ctx), - false, FLAG_MSG_PRINT_NOTIFY); } } @@ -2636,10 +2627,6 @@ static bool srv_spoolss_replyopenprinter(int snum, const char *printer, messaging_register(msg_ctx, NULL, MSG_PRINTER_NOTIFY2, receive_notify2_message_list); - /* Tell the connections db we're now interested in printer - * notify messages. */ - serverid_register_msg_flags(messaging_server_id(msg_ctx), - true, FLAG_MSG_PRINT_NOTIFY); } /* |