rem: if (case_sensitive) {
add: if (case_sensitive && user_len) {
context: int extract_aor(str* _uri, str* _a){	static char aor_buf[MAX_AOR_LEN];	str tmp;	struct sip_uri puri;	int user_len;	if (parse_uri(_uri->s, _uri->len, &puri) < 0) {		rerrno = R_AOR_PARSE;		LOG(L_ERR, "extract_aor(): Error while parsing Address of Record\n");		return -1;	}		if ((puri.user.len + puri.host.len + 1) > MAX_AOR_LEN) {		rerrno = R_AOR_LEN;		LOG(L_ERR, "extract_aor(): Address Of Record too long\n");		return -2;	}	_a->s = aor_buf;	_a->len = puri.user.len;	if (un_escape(&puri.user, _a) < 0) {		rerrno = R_UNESCAPE;		LOG(L_ERR, "extract_aor(): Error while unescaping username\n");		return -3;	}	user_len = _a->len;	if (use_domain) {		aor_buf[_a->len] = '@';		     /* ** stripping patch ** -jiri			memcpy(aor_buf + _a->len + 1, puri.host.s, puri.host.len);			_a->len += 1 + puri.host.len;		     */		if (realm_prefix.len && realm_prefix.len < puri.host.len &&		    (memcmp(realm_prefix.s, puri.host.s, realm_prefix.len) == 0)) {			memcpy(aor_buf + _a->len + 1, puri.host.s + realm_prefix.len, puri.host.len - realm_prefix.len);			_a->len += 1 + puri.host.len - realm_prefix.len;		} else {			memcpy(aor_buf + _a->len + 1, puri.host.s, puri.host.len);			_a->len += 1 + puri.host.len;		}		     /* end of stripping patch */	}	if (case_sensitive) {		tmp.s = _a->s + user_len + 1;		tmp.len = puri.host.len;		strlower(&tmp);	} else {		strlower(_a);	}	return 0;}