https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6507
--- Comment #2 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2011-10-27 23:01:48 PDT ---
(In reply to comment #0)
>
:
> I hope that
> item_len = (guint)ftype_length(proto_registrar_get_nth(item_hf)->type);
>
> is a reasonable way to find out how many bytes must be read to fill an hf
> variable (3 bytes for FT_UINT24 etc).
>
:
> Best regards,
>
> Martin
Why not use item_len or somthing like that in the function call? if nothing
else
that'd make the code faster and simpler.
Regards
Anders
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.