From 21375a6e5850b22687957db0d620aa84a956b287 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 14 Mar 2012 10:33:53 +0100 Subject: s3: Replace some callers of cluster_id_equal Signed-off-by: Stefan Metzmacher --- source3/smbd/notify_internal.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index 4dbb331b50..347d3305df 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -642,8 +642,7 @@ NTSTATUS notify_remove_onelevel(struct notify_context *notify, for (i=0; inum_entries; i++) { if ((private_data == array->entries[i].private_data) && - cluster_id_equal(¬ify->server, - &array->entries[i].server)) { + procid_equal(¬ify->server, &array->entries[i].server)) { break; } } @@ -738,7 +737,7 @@ NTSTATUS notify_remove(struct notify_context *notify, void *private_data) for (i=0;inum_entries;i++) { if (private_data == d->entries[i].private_data && - cluster_id_equal(¬ify->server, &d->entries[i].server)) { + procid_equal(¬ify->server, &d->entries[i].server)) { break; } } @@ -784,7 +783,7 @@ static NTSTATUS notify_remove_all(struct notify_context *notify, for (depth=0;deptharray->num_depths;depth++) { struct notify_depth *d = ¬ify->array->depth[depth]; for (i=0;inum_entries;i++) { - if (cluster_id_equal(server, &d->entries[i].server)) { + if (procid_equal(server, &d->entries[i].server)) { if (i < d->num_entries-1) { memmove(&d->entries[i], &d->entries[i+1], sizeof(d->entries[i])*(d->num_entries-(i+1))); -- cgit