diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 20:40:46 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-04 21:49:03 +0200 |
commit | b0c83d50f9f609848c19180b6b032e73a1d504cb (patch) | |
tree | d1f07798d72e22e3b89a8c5d521844c5550b6017 /source3/rpc_server/srv_spoolss_nt.c | |
parent | 8cf1cd2d5c0469f170b0f81dda94a53ce8575af9 (diff) | |
download | samba-b0c83d50f9f609848c19180b6b032e73a1d504cb.tar.gz samba-b0c83d50f9f609848c19180b6b032e73a1d504cb.tar.bz2 samba-b0c83d50f9f609848c19180b6b032e73a1d504cb.zip |
s3: Replace register_message_flags() with serverid_register_msg_flags()
message_send_all is now done by walking the serverid.tdb, not the
connections.tdb anymore.
Günther, Simo, please check!
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index c844027382..dae9f376d9 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -185,7 +185,9 @@ static void srv_spoolss_replycloseprinter(int snum, struct policy_handle *handle /* Tell the connections db we're no longer interested in * printer notify messages. */ - register_message_flags(false, FLAG_MSG_PRINT_NOTIFY); + serverid_register_msg_flags( + procid_self(), + false, FLAG_MSG_PRINT_NOTIFY); } smb_connections--; @@ -2355,7 +2357,9 @@ static bool srv_spoolss_replyopenprinter(int snum, const char *printer, receive_notify2_message_list); /* Tell the connections db we're now interested in printer * notify messages. */ - register_message_flags(true, FLAG_MSG_PRINT_NOTIFY); + serverid_register_msg_flags( + procid_self(), + true, FLAG_MSG_PRINT_NOTIFY); } /* |