diff options
author | Corey Farrell <git@cfware.com> | 2014-07-18 21:25:14 +0000 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2014-07-18 21:25:14 +0000 |
commit | eaf1225b40308f643272a7f7715c7b46aa075f83 (patch) | |
tree | 57a7eff5f302be98449220a872cc8708848e4a2c | |
parent | fd7814ddb593ec628819e95fab0052d78bc6017b (diff) |
stasis: fix call to ao2_t_alloc for stasis_message_router_create
This fixes a build failure introduced by r3821. struct stasis_topic is
opaque, so topic->name is unavailable. Switch to using stasis_topic_name().
........
Merged revisions 419019 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/stasis_message_router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/stasis_message_router.c b/main/stasis_message_router.c index 900265e6c..da288e864 100644 --- a/main/stasis_message_router.c +++ b/main/stasis_message_router.c @@ -212,7 +212,7 @@ struct stasis_message_router *stasis_message_router_create( int res; RAII_VAR(struct stasis_message_router *, router, NULL, ao2_cleanup); - router = ao2_t_alloc(sizeof(*router), router_dtor, topic->name); + router = ao2_t_alloc(sizeof(*router), router_dtor, stasis_topic_name(topic)); if (!router) { return NULL; } |