summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 21:53:52 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:32 +0200
commitdfc84ece9ddcaf510bac79e006f05dfdad9f2770 (patch)
tree92dec5fb9810c7132e287fc1d7768b83a97c9e5f /source3/rpc_server
parent9e4ae600b700406fdfb797b0217ec2b7503bfc59 (diff)
downloadsamba-dfc84ece9ddcaf510bac79e006f05dfdad9f2770.tar.gz
samba-dfc84ece9ddcaf510bac79e006f05dfdad9f2770.tar.bz2
samba-dfc84ece9ddcaf510bac79e006f05dfdad9f2770.zip
s3: Remove procid_self() from srv_spoolss_reply[open|close]printer()
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 9a55336cbe..3b7b2a62dc 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -186,7 +186,7 @@ static void srv_spoolss_replycloseprinter(int snum, struct policy_handle *handle
* printer notify messages. */
serverid_register_msg_flags(
- procid_self(),
+ messaging_server_id(smbd_messaging_context()),
false, FLAG_MSG_PRINT_NOTIFY);
}
@@ -2359,7 +2359,7 @@ static bool srv_spoolss_replyopenprinter(int snum, const char *printer,
/* Tell the connections db we're now interested in printer
* notify messages. */
serverid_register_msg_flags(
- procid_self(),
+ messaging_server_id(smbd_messaging_context()),
true, FLAG_MSG_PRINT_NOTIFY);
}