diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-08-22 14:39:42 -0400 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-08-22 18:40:50 +0000 |
commit | 923ba9d3120be0ee994d595bc1cae0f15963e2e1 (patch) | |
tree | 0fdf154f9b618f503dc4614c16619d255156cd6a /epan/tvbuff.h | |
parent | 28acde13339f0dd59698a8dfeaf0430c61e00148 (diff) |
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 <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |