AJP13: Remove odd use of ITEM_LABEL_LENGTH

This commit is contained in:
João Valverde 2022-11-26 11:34:06 +00:00 committed by Alexis La Goutte
parent 0af3174508
commit f6e850af47
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ ajp13_get_nstring(tvbuff_t *tvb, gint offset, guint16* ret_len)
if (len == 0xFFFF)
len = 0;
return tvb_format_text(wmem_packet_scope(), tvb, offset+2, MIN(len, ITEM_LABEL_LENGTH));
return tvb_format_text(wmem_packet_scope(), tvb, offset+2, len);
}