Clean up white space.
authorGuy Harris <guy@alum.mit.edu>
Thu, 16 Jun 2005 07:46:03 +0000 (07:46 -0000)
committerGuy Harris <guy@alum.mit.edu>
Thu, 16 Jun 2005 07:46:03 +0000 (07:46 -0000)
commitddbee0ffd062e5f4164d716a90baf815d44a4add
treeec3fea30344c940f336ad1bf037bea295f5db259
parent7c3ce4f5fa307e18833642d3ee3320279c90caea
Clean up white space.

Register "standard" and "lock_info_col" as obsolete preferences, so
they're silently ignored rather than triggering warnings.

Propagate changes to check for "dissect_ber_octet_string()" supplying a
null tvbuff pointer from the checkins to the generated dissector ("Do
not modify this file" means "Do not modify this file"!) to the tcap.cnf
file, so that they're not lost if the dissector is regenerated.  (Don't
propagate the checks for "tvb_new_subset()" returning null - it never
returns null.)

Pass -1 to "tvb_new_subset()" when appropriate.

When looping over packet data, check against the reported length, not
the captured length, so we indicate a short frame if we get stopped by
the snapshot length.

Get rid of unused variables.

svn path=/trunk/; revision=14658
asn1/tcap/packet-tcap-template.c
asn1/tcap/tcap.cnf
epan/dissectors/packet-tcap.c
epan/dissectors/packet-tcap.h