diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-05 19:52:59 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-05 19:52:59 +0000 |
commit | db13ec940fa96a4538ec4c5958c7f87177436bb8 (patch) | |
tree | 5c927928abcf83a771f36eb1b95d0238f7f71bb2 /epan/dissectors/packet-fix.c | |
parent | f3be6de5daa53c08c2de501f670c59e1186a4bef (diff) |
Remove depreciated functions g_string_sprint, g_string_sprintfa.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25238 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fix.c')
-rw-r--r-- | epan/dissectors/packet-fix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fix.c b/epan/dissectors/packet-fix.c index 5d05090f1d..51e6e2d11c 100644 --- a/epan/dissectors/packet-fix.c +++ b/epan/dissectors/packet-fix.c @@ -919,7 +919,7 @@ dissect_fix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) summary_label = g_string_new(msg_type); } else { summary_label = g_string_new("FIX Message"); - g_string_sprintfa(summary_label, " (%s)", value); + g_string_append_printf(summary_label, " (%s)", value); } } @@ -1093,7 +1093,7 @@ dissect_fix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) enhance the value display for the MsgType field */ label = g_string_new(value); msg_type = (char *)g_datalist_get_data(&msg_types, value); - if (NULL != msg_type) g_string_sprintfa(label, " (%s)", msg_type); + if (NULL != msg_type) g_string_append_printf(label, " (%s)", msg_type); proto_tree_add_string(fix_tree, hf_fix_MsgType, tvb, offset, field_len, label->str); g_string_free(label, TRUE); break; @@ -3026,7 +3026,7 @@ dissect_fix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (check_col(pinfo->cinfo, COL_INFO)) { if (msg_count > 1) - g_string_sprintfa(summary_label, " (%d)", msg_count); + g_string_append_printf(summary_label, " (%d)", msg_count); col_add_str(pinfo->cinfo, COL_INFO, summary_label->str); g_string_free(summary_label, TRUE); } |