ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] format_text_wsp() not working?

From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Tue, 15 Nov 2022 09:41:39 +0100
Hi,
packet 2 of the included trace causes a call to 
col_add_fstr(pinfo->cinfo, COL_INFO, "Reply: %s", format_text_wsp(pinfo->pool, rawstr, realsize - offset));
But it seems like the /n is not replaced with space using the debugger. It seems like the call to
format_text_internal() does not propagate "TRUE" ???
char *
format_text_wsp(wmem_allocator_t* allocator, const char *string, size_t len)
{
    return format_text_internal(allocator, string, len, TRUE);
}
Any ideas?

Best regards
Anders