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 */
| 66 | * copy |
| 67 | */ |
| 68 | void 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 | /* |
no test coverage detected