[sr-dev] git:master:1ac4527a: uac: uac_send - small bits of formatting

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 23 13:59:49 CEST 2018


Module: kamailio
Branch: master
Commit: 1ac4527ac8f05dbb48e3ab9e2aa9790ae86f179f
URL: https://github.com/kamailio/kamailio/commit/1ac4527ac8f05dbb48e3ab9e2aa9790ae86f179f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-07-23T13:59:28+02:00

uac: uac_send - small bits of formatting

---

Modified: src/modules/uac/uac_send.c

---

Diff:  https://github.com/kamailio/kamailio/commit/1ac4527ac8f05dbb48e3ab9e2aa9790ae86f179f.diff
Patch: https://github.com/kamailio/kamailio/commit/1ac4527ac8f05dbb48e3ab9e2aa9790ae86f179f.patch

---

diff --git a/src/modules/uac/uac_send.c b/src/modules/uac/uac_send.c
index 78dc725453..5db66bd1a2 100644
--- a/src/modules/uac/uac_send.c
+++ b/src/modules/uac/uac_send.c
@@ -499,12 +499,12 @@ int pv_parse_uac_req_name(pv_spec_p sp, str *in)
 
 	switch(in->len)
 	{
-		case 3: 
+		case 3:
 			if(strncmp(in->s, "all", 3)==0)
 				sp->pvp.pvn.u.isname.name.n = 0;
 			else goto error;
 		break;
-		case 4: 
+		case 4:
 			if(strncmp(in->s, "ruri", 4)==0)
 				sp->pvp.pvn.u.isname.name.n = 1;
 			else if(strncmp(in->s, "turi", 4)==0)
@@ -526,7 +526,7 @@ int pv_parse_uac_req_name(pv_spec_p sp, str *in)
 				sp->pvp.pvn.u.isname.name.n = 9;
 			else goto error;
 		break;
-		case 6: 
+		case 6:
 			if(strncmp(in->s, "method", 6)==0)
 				sp->pvp.pvn.u.isname.name.n = 7;
 			else if(strncmp(in->s, "callid", 6)==0)
@@ -537,7 +537,7 @@ int pv_parse_uac_req_name(pv_spec_p sp, str *in)
 				sp->pvp.pvn.u.isname.name.n = 16;
 			else goto error;
 		break;
-		case 7: 
+		case 7:
 			if(strncmp(in->s, "evroute", 7)==0)
 				sp->pvp.pvn.u.isname.name.n = 8;
 			else if(strncmp(in->s, "apasswd", 7)==0)
@@ -655,7 +655,7 @@ void uac_req_run_event_route(sip_msg_t *msg, uac_send_info_t *tp, int rcode)
 	set_route_type(backup_rt);
 }
 
-/** 
+/**
  * TM callback function
  */
 void uac_send_tm_callback(struct cell *t, int type, struct tmcb_params *ps)




More information about the sr-dev mailing list