diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-23 14:30:36 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-23 14:30:36 +0000 |
commit | 99624329faf9404e969286ae665f47dfd1d626a8 (patch) | |
tree | f744e1b985106e6b12a9ec03be0038eca6bdf03e /asn1/ocsp | |
parent | 7e06989ac36b2f307a1446a6355ff1799b33efce (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)
svn path=/trunk/; revision=30086
Diffstat (limited to 'asn1/ocsp')
-rw-r--r-- | asn1/ocsp/packet-ocsp-template.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/asn1/ocsp/packet-ocsp-template.c b/asn1/ocsp/packet-ocsp-template.c index 1e743dffc1..96f27e0787 100644 --- a/asn1/ocsp/packet-ocsp-template.c +++ b/asn1/ocsp/packet-ocsp-template.c @@ -71,8 +71,6 @@ dissect_ocsp_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "OCSP"); if (check_col(pinfo->cinfo, COL_INFO)) { - col_clear(pinfo->cinfo, COL_INFO); - col_set_str(pinfo->cinfo, COL_INFO, "Request"); } @@ -97,8 +95,6 @@ dissect_ocsp_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree col_set_str(pinfo->cinfo, COL_PROTOCOL, "OCSP"); if (check_col(pinfo->cinfo, COL_INFO)) { - col_clear(pinfo->cinfo, COL_INFO); - col_set_str(pinfo->cinfo, COL_INFO, "Response"); } |