summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-14 10:33:53 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-15 11:00:24 +0100
commit21375a6e5850b22687957db0d620aa84a956b287 (patch)
treea7789ffb58354ce5f5ca83a540241625cc271761 /source3
parent81ec0cc602141553045b39f54b23c40f4f668d4c (diff)
downloadsamba-21375a6e5850b22687957db0d620aa84a956b287.tar.gz
samba-21375a6e5850b22687957db0d620aa84a956b287.tar.bz2
samba-21375a6e5850b22687957db0d620aa84a956b287.zip
s3: Replace some callers of cluster_id_equal
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/notify_internal.c7
1 files changed, 3 insertions, 4 deletions
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; i<array->num_entries; i++) {
if ((private_data == array->entries[i].private_data) &&
- cluster_id_equal(&notify->server,
- &array->entries[i].server)) {
+ procid_equal(&notify->server, &array->entries[i].server)) {
break;
}
}
@@ -738,7 +737,7 @@ NTSTATUS notify_remove(struct notify_context *notify, void *private_data)
for (i=0;i<d->num_entries;i++) {
if (private_data == d->entries[i].private_data &&
- cluster_id_equal(&notify->server, &d->entries[i].server)) {
+ procid_equal(&notify->server, &d->entries[i].server)) {
break;
}
}
@@ -784,7 +783,7 @@ static NTSTATUS notify_remove_all(struct notify_context *notify,
for (depth=0;depth<notify->array->num_depths;depth++) {
struct notify_depth *d = &notify->array->depth[depth];
for (i=0;i<d->num_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)));