From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9229
authorEvan Huus <eapache@gmail.com>
Sat, 12 Oct 2013 12:38:56 +0000 (12:38 -0000)
committerEvan Huus <eapache@gmail.com>
Sat, 12 Oct 2013 12:38:56 +0000 (12:38 -0000)
commitfa1027a0048c1de11cb01dfdded3a88595a4a8c9
treea2aa62eea1a16934e047fab80ae0f58f19ec4b04
parent522f74e9aa0059e9f2ec681117640d829e11e1c8
From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9229

Add a new strutil function format_text_chr that replaces unprintable characters
with a single passed-in char (eg a '.' or a '-') instead of a C-style escape.
This is useful for displaying binary data that frequently but not always
contains text; otherwise the number of C escape codes makes it unreadable.

svn path=/trunk/; revision=52563
epan/strutil.c
epan/strutil.h