[svn-commits] coreyfarrell: trunk r419020 - in /trunk: ./ main/stasis_message_router.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jul 18 16:25:16 CDT 2014


Author: coreyfarrell
Date: Fri Jul 18 16:25:14 2014
New Revision: 419020

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=419020
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().
........

Merged revisions 419019 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/main/stasis_message_router.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/main/stasis_message_router.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/stasis_message_router.c?view=diff&rev=419020&r1=419019&r2=419020
==============================================================================
--- trunk/main/stasis_message_router.c (original)
+++ trunk/main/stasis_message_router.c Fri Jul 18 16:25:14 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 svn-commits mailing list