[asterisk-commits] qwell: branch qwell/fun_with_transports r388351 - /team/qwell/fun_with_transp...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 10 12:14:45 CDT 2013


Author: qwell
Date: Fri May 10 12:14:43 2013
New Revision: 388351

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388351
Log:
Just return

Modified:
    team/qwell/fun_with_transports/res/res_sip/location.c

Modified: team/qwell/fun_with_transports/res/res_sip/location.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/fun_with_transports/res/res_sip/location.c?view=diff&rev=388351&r1=388350&r2=388351
==============================================================================
--- team/qwell/fun_with_transports/res/res_sip/location.c (original)
+++ team/qwell/fun_with_transports/res/res_sip/location.c Fri May 10 12:14:43 2013
@@ -108,20 +108,12 @@
 
 struct ast_sip_contact_transport *ast_sip_location_retrieve_contact_transport_by_uri(const char *contact_uri)
 {
-	struct ast_sip_contact_transport *ct;
-
-	ct = ao2_callback(contact_transports, 0, contact_transport_find_by_uri, (void *)contact_uri);
-
-	return ct;
+	return ao2_callback(contact_transports, 0, contact_transport_find_by_uri, (void *)contact_uri);
 }
 
 struct ast_sip_contact_transport *ast_sip_location_retrieve_contact_transport_by_transport(pjsip_transport *transport)
 {
-	struct ast_sip_contact_transport *ct;
-
-	ct = ao2_callback(contact_transports, 0, contact_transport_find_by_transport, transport);
-
-	return ct;
+	return ao2_callback(contact_transports, 0, contact_transport_find_by_transport, transport);
 }
 
 struct ast_sip_aor *ast_sip_location_retrieve_aor(const char *aor_name)




More information about the asterisk-commits mailing list