TRY_TO_FAKE_THIS_ITEM() doesn't take a tvbuff_t * argument.
authorGuy Harris <guy@alum.mit.edu>
Sun, 14 Sep 2014 21:08:11 +0000 (14:08 -0700)
committerGuy Harris <guy@alum.mit.edu>
Sun, 14 Sep 2014 21:08:55 +0000 (21:08 +0000)
Change-Id: I782f73dd072f515e34ce98892340dc176978a364
Reviewed-on: https://code.wireshark.org/review/4112
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/proto.c

index 6a02d1930d113c532a81038cf091b54d05382200..e6b0912c0f56fe3397a75ef6474d41f610a05649 100644 (file)
@@ -1205,7 +1205,7 @@ proto_tree_add_format_wsp_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint
        proto_item        *pi;
        header_field_info *hfinfo;
 
-       TRY_TO_FAKE_THIS_ITEM(tree, hf_text_only, hfinfo, tvb);
+       TRY_TO_FAKE_THIS_ITEM(tree, hf_text_only, hfinfo);
 
        pi = proto_tree_add_text_node(tree, tvb, start, length);