For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-slsk.c
index 89e19cdc7e11a3abd8091cab4c018f5576cb64d1..17591844eac1aed17221f27f4a00c9542ddc520c 100644 (file)
@@ -341,7 +341,7 @@ static void dissect_slsk_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
   if (tree) {
 
 /* create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_slsk, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_slsk, tvb, 0, -1, ENC_NA);
     slsk_tree = proto_item_add_subtree(ti, ett_slsk);
 
 /* Continue adding tree items to process the packet here */