summaryrefslogtreecommitdiff
path: root/main/stasis.c
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2013-03-28 15:45:18 +0000
committerKinsey Moore <kmoore@digium.com>2013-03-28 15:45:18 +0000
commit71206544a770eb4004294ed13613a7cde6e0e056 (patch)
tree7664e5ebef6d139f25c264946a7270b4141a8fe3 /main/stasis.c
parent1a2a4578d2ab7e1d1f1518a3f8bcc41f3fd13702 (diff)
Break the world. Stasis message type accessors should now all be named correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/stasis.c')
-rw-r--r--main/stasis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/stasis.c b/main/stasis.c
index f513dcd47..d1baa442b 100644
--- a/main/stasis.c
+++ b/main/stasis.c
@@ -217,7 +217,7 @@ const char *stasis_subscription_uniqueid(const struct stasis_subscription *sub)
int stasis_subscription_final_message(struct stasis_subscription *sub, struct stasis_message *msg)
{
struct stasis_subscription_change *change;
- if (stasis_message_type(msg) != stasis_subscription_change()) {
+ if (stasis_message_type(msg) != stasis_subscription_change_type()) {
return 0;
}
@@ -413,7 +413,7 @@ static struct stasis_subscription_change *subscription_change_alloc(struct stasi
return change;
}
-struct stasis_message_type *stasis_subscription_change(void)
+struct stasis_message_type *stasis_subscription_change_type(void)
{
return __subscription_change_message_type;
}
@@ -429,7 +429,7 @@ static void send_subscription_change_message(struct stasis_topic *topic, char *u
return;
}
- msg = stasis_message_create(stasis_subscription_change(), change);
+ msg = stasis_message_create(stasis_subscription_change_type(), change);
if (!msg) {
return;