diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-13 10:56:32 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-12-13 11:00:55 +0100 |
commit | 80b4a3aadc65628e3873d01e76d8644da69cd730 (patch) | |
tree | b3637c88fd0766c239d37b1819133dbe20953391 /source3 | |
parent | 4066e291f56dbc084407fe10aeee168a1d497807 (diff) | |
download | samba-80b4a3aadc65628e3873d01e76d8644da69cd730.tar.gz samba-80b4a3aadc65628e3873d01e76d8644da69cd730.tar.bz2 samba-80b4a3aadc65628e3873d01e76d8644da69cd730.zip |
s3: Remove a call to procid_self()
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 31b6fcad83..dc3a4d705c 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -238,10 +238,11 @@ static void cleanup_timeout_fn(struct event_context *event_ctx, void *private_data) { struct timed_event **cleanup_te = (struct timed_event **)private_data; + struct messaging_context *msg = smbd_messaging_context(); DEBUG(1,("Cleaning up brl and lock database after unclean shutdown\n")); - message_send_all(smbd_messaging_context(), MSG_SMB_UNLOCK, NULL, 0, NULL); - messaging_send_buf(smbd_messaging_context(), procid_self(), + message_send_all(msg, MSG_SMB_UNLOCK, NULL, 0, NULL); + messaging_send_buf(msg, messaging_server_id(msg), MSG_SMB_BRL_VALIDATE, NULL, 0); /* mark the cleanup as having been done */ (*cleanup_te) = NULL; |