keys to have _uint in their names, to match the routines that handle
dissector tables with string keys. (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)
svn path=/trunk/; revision=35224
- Remove not needed #includes: stdio, stdlib, string & prefs;
- Fix a few typos in text strings;
- use 'tvb_reported_length() > 0' rather than '... != 0' in several cases;
(tvb_reported_length can return -1);
- if (!initialized) {...} not required in proto_reg_handoff..;
- col_clear(...) before col_add_fstr(...) not req'd;
- Add a comment about whether tvb_length() rather than tvb_reported_length
should be used in one case.
svn path=/trunk/; revision=31734