summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-08-10 14:54:37 +0200
committerChristian Ambach <ambi@samba.org>2012-08-16 18:05:34 +0200
commit8e50ff02f1e0b1b95418d80ab61ffeb474de13eb (patch)
treeb9abc85d1c25f50d8447f08b5d9c898eef28fd23
parentc2b29de2b1b0456cb21c64bf394149c652837c69 (diff)
downloadsamba-8e50ff02f1e0b1b95418d80ab61ffeb474de13eb.tar.gz
samba-8e50ff02f1e0b1b95418d80ab61ffeb474de13eb.tar.bz2
samba-8e50ff02f1e0b1b95418d80ab61ffeb474de13eb.zip
s3-msg: Rename msg_channel_init_destructor
Signed-off-by: Christian Ambach <ambi@samba.org>
-rw-r--r--source3/lib/msg_channel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/msg_channel.c b/source3/lib/msg_channel.c
index 6b3295fc06..2b02f563e7 100644
--- a/source3/lib/msg_channel.c
+++ b/source3/lib/msg_channel.c
@@ -44,7 +44,7 @@ static void msg_channel_init_got_msg(struct messaging_context *msg,
static void msg_channel_trigger(struct tevent_context *ev,
struct tevent_immediate *im,
void *priv);
-static int msg_channel_init_destructor(struct msg_channel *s);
+static int msg_channel_destructor(struct msg_channel *s);
struct tevent_req *msg_channel_init_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
@@ -105,11 +105,11 @@ static void msg_channel_init_got_ctdb(struct tevent_req *subreq)
tevent_req_error(req, map_errno_from_nt_status(status));
return;
}
- talloc_set_destructor(s, msg_channel_init_destructor);
+ talloc_set_destructor(s, msg_channel_destructor);
tevent_req_done(req);
}
-static int msg_channel_init_destructor(struct msg_channel *s)
+static int msg_channel_destructor(struct msg_channel *s)
{
messaging_deregister(s->msg, s->msg_type, s);
return 0;