rem: LOG(L_ERR, "LCR: to_gw: host is not valid IP address\n");
context: int to_gw(struct sip_msg* _m, char* _s1, char* _s2){    char host[16];    struct in_addr addr;    unsigned int i;    if((_m->parsed_uri_ok == 0) && (parse_sip_msg_uri(_m) < 0)) {	LOG(L_ERR, "LCR: to_gw: ERROR while parsing the R-URI\n");	return -1;    }    if (_m->parsed_uri.host.len > 15) {	LOG(L_ERR, "LCR: to_gw: too long R-URI host\n");	return -1;    }    memcpy(host, _m->parsed_uri.host.s, _m->parsed_uri.host.len);    host[_m->parsed_uri.host.len] = 0;        if (!inet_aton(host, &addr)) {	LOG(L_ERR, "LCR: to_gw: host is not valid IP address\n");	return -1;    }    for (i = 0; i < MAX_NO_OF_GWS; i++) {	if ((*gws)[i].ip_addr == 0) {	    return -1;	}	if ((*gws)[i].ip_addr == addr.s_addr) {	    return 1;	}    }    return -1;}