diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-17 17:40:26 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-17 17:40:26 +0000 |
commit | e1fba2aaea20c4625cc34da8ea17107847a19fbf (patch) | |
tree | 6d1bdd7b8761a637c29c796071e85dc68a7ad896 /epan/dissectors/packet-hci_h1.c | |
parent | 6d248e12e8d6441cb6da99b75e89582bffec2ff5 (diff) |
As suggested by Chris: use val_to_str_const() instead of match_strval() plus a
NULL-return check.
Use val_to_str_const instead of val_to_str() in a couple places where the string
is constant.
Use val_to_str() instead of blindly passing the return value from match_strval()
into a format routine (to ensure a non-NULL string pointer).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37202 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-hci_h1.c')
0 files changed, 0 insertions, 0 deletions