[asterisk-commits] coreyfarrell: branch 12 r419019 - /branches/12/main/stasis_message_router.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 18 16:24:09 CDT 2014
Author: coreyfarrell
Date: Fri Jul 18 16:24:03 2014
New Revision: 419019
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=419019
Log:
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().
Modified:
branches/12/main/stasis_message_router.c
Modified: branches/12/main/stasis_message_router.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/stasis_message_router.c?view=diff&rev=419019&r1=419018&r2=419019
==============================================================================
--- branches/12/main/stasis_message_router.c (original)
+++ branches/12/main/stasis_message_router.c Fri Jul 18 16:24:03 2014
@@ -212,7 +212,7 @@
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;
}
More information about the asterisk-commits
mailing list