summaryrefslogtreecommitdiff
path: root/source3/rpc_server/spoolss
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-08-10 23:36:06 -0400
committerAndreas Schneider <asn@samba.org>2011-08-11 14:57:55 +0200
commitcb1af61cb1988931654ad14c787d2493ef629a58 (patch)
tree22cecff8c2167935e2f15062ada5a5bd59d5af09 /source3/rpc_server/spoolss
parent91a45490a57e160acd3cbecd58cf2c614cda70be (diff)
downloadsamba-cb1af61cb1988931654ad14c787d2493ef629a58.tar.gz
samba-cb1af61cb1988931654ad14c787d2493ef629a58.tar.bz2
samba-cb1af61cb1988931654ad14c787d2493ef629a58.zip
s3-messaging: Remove obsolete class.
The FLAG_MSG_PRINT_NOTIFY class is actually obsolete and never used, as the only message belonging to it is not used either. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/rpc_server/spoolss')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c13
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);
}
/*