summaryrefslogtreecommitdiff
path: root/source4/cluster/cluster.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-02 10:05:46 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-03 07:37:06 +0200
commit85eb4377dbc9e2d25e0ee2e358e785347b09f0a7 (patch)
tree6f9f20fc991926620678fba7df5aeb12b9241901 /source4/cluster/cluster.h
parent8da8c36b53cc115f0d446b666fc24fc9423d808e (diff)
downloadsamba-85eb4377dbc9e2d25e0ee2e358e785347b09f0a7.tar.gz
s4:cluster Rename .id to .pid in server_id
This also changes some DEBUG messages to use cluster_id_string() rather than .id, to isolate them from this and other changes. Andrew Bartlett
Diffstat (limited to 'source4/cluster/cluster.h')
-rw-r--r--source4/cluster/cluster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/cluster.h b/source4/cluster/cluster.h
index 6cfcb9b21b3..f3b47b28380 100644
--- a/source4/cluster/cluster.h
+++ b/source4/cluster/cluster.h
@@ -27,7 +27,7 @@
/*
test for same cluster id
*/
-#define cluster_id_equal(id_1, id_2) ((id_1)->id == (id_2)->id \
+#define cluster_id_equal(id_1, id_2) ((id_1)->pid == (id_2)->pid \
&& (id_1)->id2 == (id_2)->id2 \
&& (id_1)->node == (id_2)->node)