Browse code

uac: uac_send - small bits of formatting

Daniel-Constantin Mierla authored on 22/07/2018 05:27:32
Showing 1 changed files
... ...
@@ -499,12 +499,12 @@ int pv_parse_uac_req_name(pv_spec_p sp, str *in)
499 499
 
500 500
 	switch(in->len)
501 501
 	{
502
-		case 3: 
502
+		case 3:
503 503
 			if(strncmp(in->s, "all", 3)==0)
504 504
 				sp->pvp.pvn.u.isname.name.n = 0;
505 505
 			else goto error;
506 506
 		break;
507
-		case 4: 
507
+		case 4:
508 508
 			if(strncmp(in->s, "ruri", 4)==0)
509 509
 				sp->pvp.pvn.u.isname.name.n = 1;
510 510
 			else if(strncmp(in->s, "turi", 4)==0)
... ...
@@ -526,7 +526,7 @@ int pv_parse_uac_req_name(pv_spec_p sp, str *in)
526 526
 				sp->pvp.pvn.u.isname.name.n = 9;
527 527
 			else goto error;
528 528
 		break;
529
-		case 6: 
529
+		case 6:
530 530
 			if(strncmp(in->s, "method", 6)==0)
531 531
 				sp->pvp.pvn.u.isname.name.n = 7;
532 532
 			else if(strncmp(in->s, "callid", 6)==0)
... ...
@@ -537,7 +537,7 @@ int pv_parse_uac_req_name(pv_spec_p sp, str *in)
537 537
 				sp->pvp.pvn.u.isname.name.n = 16;
538 538
 			else goto error;
539 539
 		break;
540
-		case 7: 
540
+		case 7:
541 541
 			if(strncmp(in->s, "evroute", 7)==0)
542 542
 				sp->pvp.pvn.u.isname.name.n = 8;
543 543
 			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)
655 655
 	set_route_type(backup_rt);
656 656
 }
657 657
 
658
-/** 
658
+/**
659 659
  * TM callback function
660 660
  */
661 661
 void uac_send_tm_callback(struct cell *t, int type, struct tmcb_params *ps)