From 794757ae8fbee85db2b24bc46b7e9cc492de01df Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Fri, 21 Oct 2011 02:10:19 +0000 Subject: For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg. Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503 --- epan/dissectors/packet-pnrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-pnrp.c') diff --git a/epan/dissectors/packet-pnrp.c b/epan/dissectors/packet-pnrp.c index 97e56c1cfc..63e7518e8f 100644 --- a/epan/dissectors/packet-pnrp.c +++ b/epan/dissectors/packet-pnrp.c @@ -405,7 +405,7 @@ static int dissect_pnrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Lets add a subtree to our dissection to display the info */ - ti = proto_tree_add_item(tree, proto_pnrp, tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree, proto_pnrp, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Message Type %s", val_to_str(message_type, messageType, "Unknown (0x%02x)")); /* Get a main tree for the whole protocol */ -- cgit v1.2.3