[svn-commits] russell: branch russell/event_performance r184028 - /team/russell/event_perfo...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 24 15:53:55 CDT 2009


Author: russell
Date: Tue Mar 24 15:53:52 2009
New Revision: 184028

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=184028
Log:
Use ao2_find() instead of an equivalent ao2_callback()

Modified:
    team/russell/event_performance/main/event.c

Modified: team/russell/event_performance/main/event.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/event_performance/main/event.c?view=diff&rev=184028&r1=184027&r2=184028
==============================================================================
--- team/russell/event_performance/main/event.c (original)
+++ team/russell/event_performance/main/event.c Tue Mar 24 15:53:52 2009
@@ -1018,7 +1018,7 @@
 
 	tmp_event_ref.event = cache_arg_event;
 
-	cached_event_ref = ao2_callback(container, OBJ_POINTER, ast_event_cmp, &tmp_event_ref);
+	cached_event_ref = ao2_find(container, &tmp_event_ref, OBJ_POINTER);
 
 	ast_event_destroy(cache_arg_event);
 	cache_arg_event = NULL;




More information about the svn-commits mailing list