For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / plugins / tpg / packet-http.c
index a834b2c55c2cf8e193d8553ddc5ce58a74afd0e4..f84bafe6a121c4ca697e4503473b00dec00e295b 100644 (file)
@@ -52,7 +52,7 @@ static void dissect_http(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree
     http_info_value_t* msgdata = ep_alloc0(sizeof(http_info_value_t));
     tvbparse_elem_t* reqresp;
     tpg_parser_data_t* tpg;
-    proto_item* pi = proto_tree_add_item(tree,proto_http,tvb,0,-1,FALSE);
+    proto_item* pi = proto_tree_add_item(tree,proto_http,tvb,0,-1,ENC_NA);
     proto_tree* pt = proto_item_add_subtree(pi,ett_http);
 
     tpg = tpg_start(pt,tvb,0,-1,http_tpg_data.wanted_http_sp, msgdata);