summaryrefslogtreecommitdiff
path: root/source4/cluster/cluster.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-08 18:28:17 +0200
committerAndrew Bartlett <abartlet@samba.org>2011-06-09 12:40:08 +0200
commit8d803d5a0a9a7815c4e6fcbd9b7c652fb85e94dd (patch)
treebbe38810d02bcbc2fe58e180d4e01b6784e9c22f /source4/cluster/cluster.c
parent8d4a8389bb2df77ff8923dda8368aa2915652c1a (diff)
downloadsamba-8d803d5a0a9a7815c4e6fcbd9b7c652fb85e94dd.tar.gz
samba-8d803d5a0a9a7815c4e6fcbd9b7c652fb85e94dd.tar.bz2
samba-8d803d5a0a9a7815c4e6fcbd9b7c652fb85e94dd.zip
s4-cluster Use task_id instead of id2 to clarify server_id structure
This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/cluster/cluster.c')
-rw-r--r--source4/cluster/cluster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/cluster/cluster.c b/source4/cluster/cluster.c
index 441ea96562..9dcec2e3e0 100644
--- a/source4/cluster/cluster.c
+++ b/source4/cluster/cluster.c
@@ -50,10 +50,10 @@ static void cluster_init(void)
/*
create a server_id for the local node
*/
-struct server_id cluster_id(uint64_t id, uint32_t id2)
+struct server_id cluster_id(uint64_t pid, uint32_t task_id)
{
cluster_init();
- return ops->cluster_id(ops, id, id2);
+ return ops->cluster_id(ops, pid, task_id);
}