aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pkixtsp.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-pkixtsp.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-pkixtsp.c')
-rw-r--r--epan/dissectors/packet-pkixtsp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-pkixtsp.c b/epan/dissectors/packet-pkixtsp.c
index 098a267161..868728881e 100644
--- a/epan/dissectors/packet-pkixtsp.c
+++ b/epan/dissectors/packet-pkixtsp.c
@@ -378,8 +378,6 @@ dissect_timestamp_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
col_set_str(pinfo->cinfo, COL_PROTOCOL, "PKIXTSP");
if (check_col(pinfo->cinfo, COL_INFO)) {
- col_clear(pinfo->cinfo, COL_INFO);
-
col_set_str(pinfo->cinfo, COL_INFO, "Reply");
}
@@ -403,8 +401,6 @@ dissect_timestamp_query(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
col_set_str(pinfo->cinfo, COL_PROTOCOL, "PKIXTSP");
if (check_col(pinfo->cinfo, COL_INFO)) {
- col_clear(pinfo->cinfo, COL_INFO);
-
col_set_str(pinfo->cinfo, COL_INFO, "Query");
}