From 53cfde7204f7bb372f62cefd827762c6880ea345 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 15 Jun 2012 14:29:08 +0200 Subject: s3: Remove a user of procid_is_me Signed-off-by: Michael Adam Signed-off-by: Stefan Metzmacher --- source3/smbd/sesssetup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 7cef73339a..2658a3a27f 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -333,6 +333,7 @@ static int shutdown_other_smbds(const struct connections_key *key, void *private_data) { struct shutdown_state *state = (struct shutdown_state *)private_data; + struct server_id self_pid = messaging_server_id(state->msg_ctx); DEBUG(10, ("shutdown_other_smbds: %s, %s\n", server_id_str(talloc_tos(), &crec->pid), crec->addr)); @@ -342,7 +343,7 @@ static int shutdown_other_smbds(const struct connections_key *key, return 0; } - if (procid_is_me(&crec->pid)) { + if (procid_equal(&crec->pid, &self_pid)) { DEBUG(10, ("It's me\n")); return 0; } -- cgit