MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / get_raw_uri

Function get_raw_uri

modules/tm/dlg.c:68–77  ·  view source on GitHub ↗

Temporary hack ! */ * This function skips name part * uri parsed by parse_contact must be used * (the uri must not contain any leading or * trailing part and if angle bracket were * used, right angle bracket must be the * last character in the string) * * _s will be modified so it should be a tmp * copy */

Source from the content-addressed store, hash-verified

66 * copy
67 */
68void get_raw_uri(str* _s)
69{
70 char* aq;
71
72 if (_s->s[_s->len - 1] == '>') {
73 aq = find_not_quoted(_s, '<');
74 _s->len -= aq - _s->s + 2;
75 _s->s = aq + 1;
76 }
77}
78
79
80/*

Callers 1

calculate_hooksFunction · 0.85

Calls 1

find_not_quotedFunction · 0.85

Tested by

no test coverage detected