rem: if (!m->to && (parse_headers(m, HDR_TO, 0) == -1))
add: if (!m->to && ((parse_headers(m, HDR_TO, 0) == -1)|| (!m->to)))
context: int get_uri(struct sip_msg* m, str** uri){	if ((REQ_LINE(m).method.len == 8) && 					(memcmp(REQ_LINE(m).method.s, "REGISTER", 8) == 0)) 	{			/* REGISTER */		if (!m->to && (parse_headers(m, HDR_TO, 0) == -1)) 		{			LOG(L_ERR, M_NAME":get_uri(): To header field not found or "				"malformed\n");						/* it was a REGISTER and an error appeared when parsing TO header*/			return -1;		}		*uri = &(get_to(m)->uri);	} 	else 	{		if (parse_from_header(m) == -1) 		{			LOG(L_ERR, M_NAME":get_uri(): Error while parsing FROM header\n");			/* an error appeared when parsing FROM header */			return -1;		}		*uri = &(get_from(m)->uri);	}    /* success */	return 0;}