Wireshark-commits: [Wireshark-commits] rev 52563: /trunk/epan/ /trunk/epan/: strutil.c strutil.h
Date: Sat, 12 Oct 2013 12:38:57 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52563

User: eapache
Date: 2013/10/12 12:38 PM

Log:
 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.

Directory: /trunk/epan/
  Changes    Path          Action
  +65 -0     strutil.c     Modified
  +16 -0     strutil.h     Modified