Ethereal-dev: [Ethereal-dev] FT_STRINGZ and proto_tree_add_string

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Kris Verbeeck <airborne@xxxxxxxxxxx>
Date: Sat, 13 Apr 2002 20:48:59 +0200
Hi,

Why does the assertion in proto_tree_add_string() only check for type FT_STRING and not for FT_STRINGZ? It seems to me like that function could handle both data types. Or am I missing something? And if I am, how can I add a FT_STRINGZ value to a tree without calling proto_tree_add_item (I already have the value of the string, no need to extract it again)?

thx

ps: Anyone working on ajp13 support (because I'm giving it a try)?