diff options
Diffstat (limited to 'epan/dissectors/packet-ansi_637.c')
-rw-r--r-- | epan/dissectors/packet-ansi_637.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ansi_637.c b/epan/dissectors/packet-ansi_637.c index 5a25f914c6..1ad7fa3aa1 100644 --- a/epan/dissectors/packet-ansi_637.c +++ b/epan/dissectors/packet-ansi_637.c @@ -1947,7 +1947,7 @@ trans_param_tele_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint l "%s (%u)", str, value); - g_snprintf(add_string, string_len, " - %s (%u)", str, value); + snprintf(add_string, string_len, " - %s (%u)", str, value); } static void @@ -1966,7 +1966,7 @@ trans_param_srvc_cat(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint "%s (%u)", str, value); - g_snprintf(add_string, string_len, " - %s (%u)", str, value); + snprintf(add_string, string_len, " - %s (%u)", str, value); if ((value >= ANSI_TSB58_SRVC_CAT_CMAS_MIN) && (value <= ANSI_TSB58_SRVC_CAT_CMAS_MAX)) { @@ -2205,7 +2205,7 @@ trans_param_bearer_reply_opt(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree * proto_tree_add_item(tree, hf_ansi_637_trans_bearer_reply_seq_num, tvb, offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(tree, hf_ansi_637_reserved_bits_8_03, tvb, offset, 1, ENC_BIG_ENDIAN); - g_snprintf(add_string, string_len, " - Reply Sequence Number (%u)", + snprintf(add_string, string_len, " - Reply Sequence Number (%u)", (tvb_get_guint8(tvb, offset) & 0xfc) >> 2); } @@ -2228,7 +2228,7 @@ trans_param_cause_codes(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, oct = tvb_get_guint8(tvb, offset); - g_snprintf(add_string, string_len, " - Reply Sequence Number (%u)", (oct & 0xfc) >> 2); + snprintf(add_string, string_len, " - Reply Sequence Number (%u)", (oct & 0xfc) >> 2); if (!(oct & 0x03)) return; |