Commit Graph

9 Commits

Author SHA1 Message Date
Chris Maynard 95bad136a0 Fix Coverity CID 280402: Logically dead code.
svn path=/trunk/; revision=48740
2013-04-04 20:40:32 +00:00
Jeff Morriss 2552c750e5 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Bill Meier 638d74d43f 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

svn path=/trunk/; revision=44438
2012-08-10 22:55:02 +00:00
Jakub Zawadzki bf81b42e1e Update Free Software Foundation address.
(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Bill Meier 87cf82e056 Use tvb_new_subset_remaining() rather than tvb_new_subset();
#include <styring.h> not req'd (in a few cases);
Minor reformating & whitespace cleanup.

svn path=/trunk/; revision=41374
2012-03-06 16:58:09 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
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
2010-12-20 05:35:29 +00:00
Jeff Morriss 8ffbb8ade8 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5173 :
Don't call col_set_str() on a string returned from val_to_str() (which may be
ep_ allocated).

svn path=/trunk/; revision=34045
2010-09-02 17:13:36 +00:00
Bill Meier 7ebd25f59e Various:
1. Re-arrange proto_reg_handoff... code to follow the "standard idiom" for init/set of port prefs;
2. Define all fcns as static (except proto_register and proto_reg_handoff);
3. ethereal --> Wireshark;
4. Remove some uneeded/unused prototypes;
5. Fix a few function description comments.

svn path=/trunk/; revision=34006
2010-08-30 01:14:08 +00:00
Stig Bjørlykke 355e2bed0a From Owen Kirby via bug 5149:
Added a new dissector for SCoP.

svn path=/trunk/; revision=33962
2010-08-27 21:05:02 +00:00