aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btamp.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-23 14:30:36 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-23 14:30:36 +0000
commit59399614a0477702989e0e8747b0fdc722e59cf4 (patch)
treef744e1b985106e6b12a9ec03be0038eca6bdf03e /epan/dissectors/packet-btamp.c
parent8f92be854dced017a56531ee6dee5d7422dd1449 (diff)
Don't col_clear() followed by col_set_str(). A col_set_str() will clear (replace) any existing string (the fence still needs to be respected though)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30086 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-btamp.c')
-rw-r--r--epan/dissectors/packet-btamp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btamp.c b/epan/dissectors/packet-btamp.c
index 8885fc6ee0..bb4f0d1fdb 100644
--- a/epan/dissectors/packet-btamp.c
+++ b/epan/dissectors/packet-btamp.c
@@ -389,7 +389,6 @@ static void dissect_btamp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
guint16 cmd_length;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "AMP");
- col_clear(pinfo->cinfo, COL_INFO);
col_set_str(pinfo->cinfo, COL_INFO, pinfo->p2p_dir == P2P_DIR_SENT ? "Sent " : "Rcvd ");
if(tree){