Use "tvb_format_text()" to display strings, so we handle non-printable
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Mar 2004 18:06:29 +0000 (18:06 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Mar 2004 18:06:29 +0000 (18:06 +0000)
commit1e6563963dbda685c9a6dc04a9c80918f5d7c69c
treed7565f7f24de6a30f596a9161fd39b9374e4d195
parent6ea0bc82dba40f2bfe399f0c0a3b71df126cf6c2
Use "tvb_format_text()" to display strings, so we handle non-printable
characters.

Some strings appear to be null-padded; add a "tvb_format_stringzpad()"
routine to handle them, so that we don't show the padding characters as
"\000".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10461 f5534014-38df-0310-8fa8-9805f1628bb7
epan/tvbuff.c
epan/tvbuff.h
packet-cdp.c