diff options
Diffstat (limited to 'epan/dissectors/asn1/mms/packet-mms-template.c')
-rw-r--r-- | epan/dissectors/asn1/mms/packet-mms-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/asn1/mms/packet-mms-template.c b/epan/dissectors/asn1/mms/packet-mms-template.c index 36b05820d3..54d61d3027 100644 --- a/epan/dissectors/asn1/mms/packet-mms-template.c +++ b/epan/dissectors/asn1/mms/packet-mms-template.c @@ -98,8 +98,8 @@ static void private_data_add_moreCinfo_id(asn1_ctx_t *actx, tvbuff_t *tvb) { mms_private_data_t *private_data = (mms_private_data_t*)mms_get_private_data(actx); - g_strlcat(private_data->moreCinfo, " ", BUFFER_SIZE_MORE); - g_strlcat(private_data->moreCinfo, tvb_get_string_enc(wmem_packet_scope(), + (void) g_strlcat(private_data->moreCinfo, " ", BUFFER_SIZE_MORE); + (void) g_strlcat(private_data->moreCinfo, tvb_get_string_enc(wmem_packet_scope(), tvb, 2, tvb_get_guint8(tvb, 1), ENC_STRING), BUFFER_SIZE_MORE); } |