Revert "IPP: NULL is not a valid use here"

This reverts commit 58d545d5e6.
This commit is contained in:
João Valverde 2022-10-30 16:12:27 +00:00
parent 3baf3216ac
commit a1e32e67ea
1 changed files with 1 additions and 1 deletions

View File

@ -1427,7 +1427,7 @@ add_charstring_value(const gchar *tag_desc, proto_tree *tree, tvbuff_t *tvb,
if (tag == TAG_MEMBERATTRNAME)
proto_tree_add_item(tree, hf_ipp_memberattrname, tvb, valoffset, value_length, ENC_ASCII);
else
proto_tree_add_string_format(tree, hf_ipp_charstring_value, tvb, valoffset, value_length, "%s value: '%s'", tag_desc, tvb_format_text(wmem_packet_scope(), tvb, valoffset, value_length));
proto_tree_add_string_format(tree, hf_ipp_charstring_value, tvb, valoffset, value_length, NULL, "%s value: '%s'", tag_desc, tvb_format_text(wmem_packet_scope(), tvb, valoffset, value_length));
}
static int