When checking the header_field_infos, use g_error() to give the developer a
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 24 Apr 2010 03:08:08 +0000 (03:08 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 24 Apr 2010 03:08:08 +0000 (03:08 +0000)
commitc5a67983ffcd0f0f4aee8f625d3b9d992247fb38
tree2e3c180c011450a60624213a9971407655f26df4
parentdea5be17601fce26cf53e9c50dbe35c41af5a7d5
When checking the header_field_infos, use g_error() to give the developer a
(hopefully useful) explanation of what's wrong with his/her hfinfo field
rather than just asserting out.

So now instead of just getting a message saying aborted(core dumped), you can
get, for example:

22:31:54          Err  Field 'Message in frame' (sccp.assoc.msg) is an FT_FRAMENUM and is BASE_DEC instead of BASE_NONE

*and* an abort(core dumped) (for those who want it).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32549 f5534014-38df-0310-8fa8-9805f1628bb7
epan/proto.c