Wireshark-commits: [Wireshark-commits] master f55269e: Use ftype_name() to get the name of an FT_ v

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 12 Apr 2014 22:39:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f55269e406effde2cabe71b79c6a8e90068abd00
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f55269e by Guy Harris (guy@xxxxxxxxxxxx):

    Use ftype_name() to get the name of an FT_ value.
    
    That way we don't have to update the hf_types[] value_string if a new
    type is added.
    
    Change-Id: If4fd0a8ff2d6b54d0b70140be407dae9c4ab6b3b
    Reviewed-on: https://code.wireshark.org/review/1083
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  cb16dff   Get rid of more tvb_get_nstringz* calls.
    adds  f55269e   Use ftype_name() to get the name of an FT_ value.


Summary of changes:
 epan/proto.c |   64 ++++++++++++----------------------------------------------
 1 file changed, 13 insertions(+), 51 deletions(-)