Hi all,

In a code review I was told to use proto_tree_add_item and BASE_CUSTOM to
replace this deprecated call:

      proto_tree_add_text(rtps_parameter_tree, tvb, offset, param_length,
        "productVersion: %d.%d%c rev%d",
        major, minor, release, revision);

I have been looking for documentation or guidelines but I can't find
anything. Can anyone help me with this? What would be the change? Pointing
me to any doc would be OK also.

Thanks,
Juanjo
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to