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_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/cluster/cluster_private.h') diff --git a/source4/cluster/cluster_private.h b/source4/cluster/cluster_private.h index e57c983ed0..3207e6dafe 100644 --- a/source4/cluster/cluster_private.h +++ b/source4/cluster/cluster_private.h @@ -24,8 +24,8 @@ struct cluster_ops { struct server_id (*cluster_id)(struct cluster_ops *ops, uint64_t id, uint32_t id2); - const char *(*cluster_id_string)(struct cluster_ops *ops, - TALLOC_CTX *, struct server_id ); + char *(*cluster_id_string)(struct cluster_ops *ops, + TALLOC_CTX *, struct server_id ); struct tdb_wrap *(*cluster_tdb_tmp_open)(struct cluster_ops *, TALLOC_CTX *, struct loadparm_context *, -- cgit