[sr-dev] git:master: dispatcher: reset whitespaces to tabs for identation

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 8 21:47:41 CEST 2014


Module: sip-router
Branch: master
Commit: 3ea4bc0b15414e0bf4b57d1f7a563ad38347d938
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3ea4bc0b15414e0bf4b57d1f7a563ad38347d938

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Sep  8 18:57:37 2014 +0200

dispatcher: reset whitespaces to tabs for identation

---

 modules/dispatcher/dispatch.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/dispatcher/dispatch.c b/modules/dispatcher/dispatch.c
index 120dcdd..5538c94 100644
--- a/modules/dispatcher/dispatch.c
+++ b/modules/dispatcher/dispatch.c
@@ -1585,7 +1585,7 @@ static inline int ds_update_dst(struct sip_msg *msg, str *uri, int mode)
  */
 int ds_select_dst(struct sip_msg *msg, int set, int alg, int mode)
 {
-  return ds_select_dst_limit(msg, set, alg, 0, mode);
+	return ds_select_dst_limit(msg, set, alg, 0, mode);
 }
 
 int ds_select_dst_limit(struct sip_msg *msg, int set, int alg, unsigned int limit, int mode)
@@ -1609,10 +1609,10 @@ int ds_select_dst_limit(struct sip_msg *msg, int set, int alg, unsigned int limi
 
 	if (limit==0)
 	{
-	  LM_DBG("Limit set to 0 - forcing to unlimited\n");
-	  limit = 0xffffffff;
+		LM_DBG("Limit set to 0 - forcing to unlimited\n");
+		limit = 0xffffffff;
 	}
-  --limit; /* reserving 1 slot for selected dst */
+	--limit; /* reserving 1 slot for selected dst */
 
 	if((mode==0) && (ds_force_dst==0)
 			&& (msg->dst_uri.s!=NULL || msg->dst_uri.len>0))




More information about the sr-dev mailing list