Skip to content

Commit 6e1cedb

Browse files
committed
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.
1 parent efce7b6 commit 6e1cedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

print-resp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static int resp_get_length(netdissect_options *, const u_char *, int, const u_ch
205205
ND_PRINT(" \""); \
206206
if (nd_printn(_ndo, _bp, _len, _ndo->ndo_snapend)) \
207207
goto trunc; \
208-
fn_print_char(_ndo, '"');
208+
ND_PRINT("\"");
209209

210210
void
211211
resp_print(netdissect_options *ndo, const u_char *bp, u_int length)

0 commit comments

Comments
 (0)