Clean up indentation; use 2-space indentation throughout.
authorGuy Harris <guy@alum.mit.edu>
Sat, 29 Apr 2006 17:31:20 +0000 (17:31 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 29 Apr 2006 17:31:20 +0000 (17:31 -0000)
commitf3d1963924c0b88d7a47c983f3bc3d98273a9e7b
tree2ed19cc9d7dcb3fd057f8e2ccc9153cbd1acf3ec
parent8661cd184609534d56bb1ac542c890c9b259535c
Clean up indentation; use 2-space indentation throughout.

Save the media encoding name in the transport_info_t structure rather
than in a global variable.  Allocate it with tvb_get_ephemeral_string()
so it's released after the packet is completely processed.  Do *NOT*
assume it's necessarily non-null in decode_sdp_fmtp(), as the code flow
doesn't guarantee that to be true.

proto_tree_add_string() now suffices for adding a particular SDP item -
strings are now displayed "safely", with escaping of non-printable
characters done.

Update a comment (we no longer have the Big Transfer Vector to allow
plugins to call dissector functions in Windows, we have those functions
in a DLL).

svn path=/trunk/; revision=18031
epan/dissectors/packet-sdp.c