From 2497482e34a108275f75cd8106e1841b35aab98e Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Wed, 3 Sep 2014 21:57:02 -0400 Subject: Don't print non-printable characters in AX.25 addresses. Add a new routine to wsutil to make this easy: printable_char_or_period(). Bug: 10439 Change-Id: I0eb2bb6bc0676a1035c3d845b5e20276fa04de60 Reviewed-on: https://code.wireshark.org/review/3981 Petri-Dish: Alexis La Goutte Reviewed-by: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- wsutil/str_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wsutil/str_util.h') diff --git a/wsutil/str_util.h b/wsutil/str_util.h index 971fa3542d..43a60dca9d 100644 --- a/wsutil/str_util.h +++ b/wsutil/str_util.h @@ -110,6 +110,8 @@ typedef enum { WS_DLL_PUBLIC gchar *format_size(gint64 size, format_size_flags_e flags); +WS_DLL_PUBLIC +gchar printable_char_or_period(gchar c); #ifdef __cplusplus } -- cgit v1.2.1