rem: goto error;
add: goto error01;
context: int e2e_cancel_branch( struct sip_msg *cancel_msg, struct cell *t_cancel, 	struct cell *t_invite, int branch ){	int ret;	char *shbuf;	unsigned int len;	if (t_cancel->uac[branch].request.buffer) {		LOG(L_CRIT, "ERROR: e2e_cancel_branch: buffer rewrite attempt\n");		ret=ser_error=E_BUG;		goto error;	}		/* note -- there is a gap in proxy stats -- we don't update 	   proxy stats with CANCEL (proxy->ok, proxy->tx, etc.)	*/	cancel_msg->new_uri = t_invite->uac[branch].uri;	/* print */	shbuf=print_uac_request( t_cancel, cancel_msg, branch, &len,		t_invite->uac[branch].request.dst.send_sock,		t_invite->uac[branch].request.dst.proto);	if (!shbuf) {		LOG(L_ERR, "ERROR: e2e_cancel_branch: printing e2e cancel failed\n");		ret=ser_error=E_OUT_OF_MEM;		goto error;	}		/* install buffer */	t_cancel->uac[branch].request.dst=t_invite->uac[branch].request.dst;	t_cancel->uac[branch].request.buffer=shbuf;	t_cancel->uac[branch].request.buffer_len=len;	t_cancel->uac[branch].uri.s=t_cancel->uac[branch].request.buffer+		cancel_msg->first_line.u.request.method.len+1;	t_cancel->uac[branch].uri.len=t_invite->uac[branch].uri.len;		/* success */	ret=1;error:	return ret;}