From f13b7ec0791dc4f805a66300a540238aa57d3337 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 2 May 2011 10:06:56 +1000 Subject: s4-cluster: Remove const from cluster_id_string() This allows the caller to talloc_free() this result. Andrew Bartlett --- source4/cluster/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/cluster/cluster.c') diff --git a/source4/cluster/cluster.c b/source4/cluster/cluster.c index 746c004820..315145afac 100644 --- a/source4/cluster/cluster.c +++ b/source4/cluster/cluster.c @@ -60,7 +60,7 @@ struct server_id cluster_id(uint64_t id, uint32_t id2) /* return a server_id as a string */ -const char *cluster_id_string(TALLOC_CTX *mem_ctx, struct server_id id) +char *cluster_id_string(TALLOC_CTX *mem_ctx, struct server_id id) { cluster_init(); return ops->cluster_id_string(ops, mem_ctx, id); -- cgit