diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-05-01 20:02:42 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-05-02 03:33:02 +0200 |
commit | 0cced4fcdcad0c011cb123371d557067da7c6bbe (patch) | |
tree | 605d016458dbe0b1560981476ae0e56021e643cd /print-fr.c | |
parent | 84faadecc0ee9441b738ff270fd5c7b0d270db8f (diff) | |
download | tcpdump-0cced4fcdcad0c011cb123371d557067da7c6bbe.tar.gz |
Remove the safeputchar() function
Print the characters filtering out non-printable with fn_print_char().
Update the output of some tests accordingly.
Diffstat (limited to 'print-fr.c')
-rw-r--r-- | print-fr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -502,7 +502,7 @@ mfr_print(netdissect_options *ndo, case MFR_CTRL_IE_LINK_ID: for (idx = 0; idx < ie_len && idx < MFR_ID_STRING_MAXLEN; idx++) { if (EXTRACT_U_1(tptr + idx) != 0) /* don't print null termination */ - safeputchar(ndo, EXTRACT_U_1(tptr + idx)); + fn_print_char(ndo, EXTRACT_U_1(tptr + idx)); else break; } |