Skip to content

Commit

Permalink
uac: uac_send - small bits of formatting
Browse files Browse the repository at this point in the history
(cherry picked from commit 1ac4527)
  • Loading branch information
miconda committed Aug 17, 2018
1 parent b3468ab commit 1657299
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modules/uac/uac_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1657299

Please sign in to comment.