[asterisk-commits] kmoore: branch kmoore/bridge_construction-cel_channels r389338 - /team/kmoore...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 21 07:50:52 CDT 2013


Author: kmoore
Date: Tue May 21 07:50:47 2013
New Revision: 389338

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389338
Log:
Make sure that remove is properly searching by key

Modified:
    team/kmoore/bridge_construction-cel_channels/main/cel.c

Modified: team/kmoore/bridge_construction-cel_channels/main/cel.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/bridge_construction-cel_channels/main/cel.c?view=diff&rev=389338&r1=389337&r2=389338
==============================================================================
--- team/kmoore/bridge_construction-cel_channels/main/cel.c (original)
+++ team/kmoore/bridge_construction-cel_channels/main/cel.c Tue May 21 07:50:47 2013
@@ -204,7 +204,7 @@
 
 static void remove_bridge_primary(const char *channel_id)
 {
-	ao2_find(bridge_primaries, channel_id, OBJ_NODATA | OBJ_MULTIPLE | OBJ_UNLINK);
+	ao2_find(bridge_primaries, channel_id, OBJ_NODATA | OBJ_MULTIPLE | OBJ_UNLINK | OBJ_KEY);
 }
 
 /*! \brief Hashing function for bridge_assoc */




More information about the asterisk-commits mailing list