From 6e1cedbb60e1539934a23eaf3ec6e04c51aaeb2c Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Mon, 17 Feb 2025 11:55:04 +0100 Subject: [PATCH] RESP: Replace a fn_print_char() call by a ND_PRINT() call fn_print_char() is used to filtering out the non-printable characters. Unnecessary here. --- print-resp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print-resp.c b/print-resp.c index 112152aa..1cefbacc 100644 --- a/print-resp.c +++ b/print-resp.c @@ -205,7 +205,7 @@ static int resp_get_length(netdissect_options *, const u_char *, int, const u_ch ND_PRINT(" \""); \ if (nd_printn(_ndo, _bp, _len, _ndo->ndo_snapend)) \ goto trunc; \ - fn_print_char(_ndo, '"'); + ND_PRINT("\""); void resp_print(netdissect_options *ndo, const u_char *bp, u_int length) -- 2.39.5