diff options
author | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-22 21:18:11 +0000 |
---|---|---|
committer | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-22 21:18:11 +0000 |
commit | 7c3b3eb30846a62a7efa0002d851198ee09ef367 (patch) | |
tree | 1e8a02d47173f15306aadbd893999a857be9fb1f /epan/dissectors/packet-dplay.c | |
parent | 4743e63dfa55d49b35df9a97511ac739304cf72f (diff) |
Use col_set_str instead of col_add_fstr when adding constant strings to COL_INFO
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30082 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dplay.c')
-rw-r--r-- | epan/dissectors/packet-dplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c index 2303fc2e14..b3a9878417 100644 --- a/epan/dissectors/packet-dplay.c +++ b/epan/dissectors/packet-dplay.c @@ -1028,7 +1028,7 @@ static void dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Clear out stuff in the info column */ col_clear(pinfo->cinfo, COL_INFO); if(check_col(pinfo->cinfo,COL_INFO)) - col_add_fstr(pinfo->cinfo,COL_INFO, "DPlay data packet"); + col_set_str(pinfo->cinfo, COL_INFO, "DPlay data packet"); return; } @@ -1141,7 +1141,7 @@ static void dissect_dplay_player_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tr /* Clear out stuff in the info column */ col_clear(pinfo->cinfo, COL_INFO); if(check_col(pinfo->cinfo,COL_INFO)) - col_add_fstr(pinfo->cinfo,COL_INFO, "DPlay player to player message"); + col_set_str(pinfo->cinfo, COL_INFO, "DPlay player to player message"); if(tree) { |