[asterisk-commits] dlee: branch dlee/ASTERISK-22451-ari-subscribe r399224 - /team/dlee/ASTERISK-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 17 09:44:01 CDT 2013


Author: dlee
Date: Tue Sep 17 09:43:59 2013
New Revision: 399224

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399224
Log:
Don't be stupid

Modified:
    team/dlee/ASTERISK-22451-ari-subscribe/main/endpoints.c

Modified: team/dlee/ASTERISK-22451-ari-subscribe/main/endpoints.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-22451-ari-subscribe/main/endpoints.c?view=diff&rev=399224&r1=399223&r2=399224
==============================================================================
--- team/dlee/ASTERISK-22451-ari-subscribe/main/endpoints.c (original)
+++ team/dlee/ASTERISK-22451-ari-subscribe/main/endpoints.c Tue Sep 17 09:43:59 2013
@@ -105,7 +105,7 @@
 
 struct ast_endpoint *ast_endpoint_find_by_id(const char *id)
 {
-	return ao2_find(endpoints, id, 0);
+	return ao2_find(endpoints, id, OBJ_KEY);
 }
 
 struct stasis_topic *ast_endpoint_topic(struct ast_endpoint *endpoint)




More information about the asterisk-commits mailing list