[asterisk-commits] kharwell: branch kharwell/pimp_my_sip r386044 - /team/kharwell/pimp_my_sip/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 18 17:35:24 CDT 2013


Author: kharwell
Date: Thu Apr 18 17:35:21 2013
New Revision: 386044

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=386044
Log:
spaces

Modified:
    team/kharwell/pimp_my_sip/res/res_sip_messaging.c

Modified: team/kharwell/pimp_my_sip/res/res_sip_messaging.c
URL: http://svnview.digium.com/svn/asterisk/team/kharwell/pimp_my_sip/res/res_sip_messaging.c?view=diff&rev=386044&r1=386043&r2=386044
==============================================================================
--- team/kharwell/pimp_my_sip/res/res_sip_messaging.c (original)
+++ team/kharwell/pimp_my_sip/res/res_sip_messaging.c Thu Apr 18 17:35:21 2013
@@ -86,7 +86,7 @@
 }
 
 /*!
- * \brief Puts pointer past 'sip[s]:' string that should be at the 
+ * \brief Puts pointer past 'sip[s]:' string that should be at the
  * front of the given 'fromto' parameter
  *
  * \param fromto 'From' or 'To' field containing 'sip:'
@@ -111,7 +111,7 @@
  * \brief Retrieves an endpoint if specified in the given 'fromto'
  *
  * Expects the given 'fromto' to be in one of the following formats:
- *     	sip[s]:endpoint[/aor]
+ *      sip[s]:endpoint[/aor]
  *      sip[s]:endpoint[/uri]
  *
  * If an optional aor is given it will try to find an associated uri
@@ -123,7 +123,7 @@
  */
 static struct ast_sip_endpoint* get_endpoint(const char *fromto, char **uri)
 {
-	const char *name = skip_sip(fromto);	
+	const char *name = skip_sip(fromto);
 	struct ast_sip_endpoint* endpoint;
 	struct ast_sip_aor *aor;
 
@@ -135,7 +135,7 @@
 	if (ast_strlen_zero(name)) {
 		return NULL;
 	}
-	
+
 	if (!(endpoint = ast_sorcery_retrieve_by_id(
 		      ast_sip_get_sorcery(), "endpoint", name))) {
 		return NULL;
@@ -174,7 +174,7 @@
 
 	if (ast_strlen_zero(uri)) {
 		/* if no aor/uri was specified get one from the endpoint */
-		uri = (char*)ast_sip_location_retrieve_contact_from_aor_list(endpoint->aors)->uri;		
+		uri = (char*)ast_sip_location_retrieve_contact_from_aor_list(endpoint->aors)->uri;
 	}
 
 	/* get current 'from' hdr & uri - going to overwrite some fields */




More information about the asterisk-commits mailing list