diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-08-10 22:55:02 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-08-10 22:55:02 +0000 |
commit | eadd88560df528848a305d3c02d370e88a347fc9 (patch) | |
tree | 5bfcabbb83a6e7359cfc302cdc604264560d66a0 /epan/dissectors/packet-image-jfif.c | |
parent | 43ca6a305349c1e81dc31e79016abe7743650d4b (diff) |
Use val_to_str_const() where appropriate;
Also (for a few files):
- create/use some extended value strings;
- remove unneeded #include files;
- remove unneeded variable initialization;
- re-order fcns slightly so prefs_reg_handoff...() at end, etc
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44438 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-image-jfif.c')
-rw-r--r-- | epan/dissectors/packet-image-jfif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-image-jfif.c b/epan/dissectors/packet-image-jfif.c index ca690dde17..81b2f61f09 100644 --- a/epan/dissectors/packet-image-jfif.c +++ b/epan/dissectors/packet-image-jfif.c @@ -685,8 +685,8 @@ process_app1_segment(proto_tree *tree, tvbuff_t *tvb, guint32 len, proto_tree_add_text(subtree, tvb, offset, 2, "Exif Tag: 0x%04X (%s), Type: %u (%s), Count: %u, " "Value offset from start of TIFF header: %u", - tag, val_to_str(tag, vals_exif_tags, "Unknown Exif tag"), - type, val_to_str(type, vals_exif_types, "Unknown Exif type"), + tag, val_to_str_const(tag, vals_exif_tags, "Unknown Exif tag"), + type, val_to_str_const(type, vals_exif_types, "Unknown Exif type"), count, off); offset += 12; } |