From 923ba9d3120be0ee994d595bc1cae0f15963e2e1 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Fri, 22 Aug 2014 14:39:42 -0400 Subject: Fix a comment typo: tvb_bcd_dig_to_wmem_packet_str() returns a WMEM-allocated string, not an EP-allocated one. Change-Id: I3918ed66429c588d4503d98e10dc460b099e550e Reviewed-on: https://code.wireshark.org/review/3795 Reviewed-by: Jeff Morriss --- epan/tvbuff.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/tvbuff.h') diff --git a/epan/tvbuff.h b/epan/tvbuff.h index d9fb832934..65931257d0 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -846,9 +846,9 @@ WS_DLL_PUBLIC gchar *tvb_bytes_to_ep_str(tvbuff_t *tvb, const gint offset, * tvbuff"), fetch BCD encoded digits from a tvbuff starting from either * the low or high half byte, formatting the digits according to an input digit * set, if NUL a default digit set of 0-9 returning "?" for overdecadic digits - * will be used. A pointer to the EP allocated string will be returned. - * Note a tvbuff content of 0xf is considered a 'filler' and will end the - * conversion. + * will be used. A pointer to the packet-scope (WMEM-allocated) string will + * be returned. Note a tvbuff content of 0xf is considered a 'filler' and will + * end the conversion. */ typedef struct dgt_set_t { -- cgit v1.2.3