[svn-commits] kmoore: branch kmoore/stasis-bridging-channel_events r386000 - /team/kmoore/s...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Apr 18 09:22:04 CDT 2013
Author: kmoore
Date: Thu Apr 18 09:22:00 2013
New Revision: 386000
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=386000
Log:
Fix app_watching_channel_cb casting from void* to wrong type
Modified:
team/kmoore/stasis-bridging-channel_events/res/res_stasis.c
Modified: team/kmoore/stasis-bridging-channel_events/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-bridging-channel_events/res/res_stasis.c?view=diff&rev=386000&r1=385999&r2=386000
==============================================================================
--- team/kmoore/stasis-bridging-channel_events/res/res_stasis.c (original)
+++ team/kmoore/stasis-bridging-channel_events/res/res_stasis.c Thu Apr 18 09:22:00 2013
@@ -403,9 +403,9 @@
{
RAII_VAR(char *, uniqueid, NULL, ao2_cleanup);
struct app *app = obj;
- struct ast_channel_snapshot *snapshot = arg;
-
- uniqueid = ao2_find(app->channels, snapshot->uniqueid, OBJ_KEY);
+ char *chan_uniqueid = arg;
+
+ uniqueid = ao2_find(app->channels, chan_uniqueid, OBJ_KEY);
return uniqueid ? CMP_MATCH : 0;
}
More information about the svn-commits
mailing list