/* Add the raw text of the message to the dissect tree if appropriate preferences are specified.  */
static void mgcp_raw_text_add(tvbuff_t *tvb, proto_tree *tree)
/* Add the raw text of the message to the dissect tree if appropriate preferences are specified.  */
static void mgcp_raw_text_add(tvbuff_t *tvb, proto_tree *tree)
{
	gint tvb_linebegin, tvb_lineend, linelen;
	tvb_linebegin = 0;
	do
	{
		tvb_find_line_end(tvb, tvb_linebegin, -1, &tvb_lineend, FALSE);
		linelen = tvb_lineend - tvb_linebegin;
		proto_tree_add_format_text(tree, tvb, tvb_linebegin, linelen);
		tvb_linebegin = tvb_lineend;
	} while (tvb_offset_exists(tvb, tvb_lineend));
}