diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 08:14:59 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 08:14:59 +0000 |
commit | ac463d2697d3beb50fd24bbf48f818724f5220f6 (patch) | |
tree | e77267cdd463c269c8fb7bbefda18517ed363cbb /asn1/t38/packet-t38-template.c | |
parent | 6110a96f689d51c92c5b00b4dfda3a9cd6916a25 (diff) |
Don't guard col_clear with col_check
svn path=/trunk/; revision=29346
Diffstat (limited to 'asn1/t38/packet-t38-template.c')
-rw-r--r-- | asn1/t38/packet-t38-template.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/asn1/t38/packet-t38-template.c b/asn1/t38/packet-t38-template.c index d3345e41e2..d3cca47b22 100644 --- a/asn1/t38/packet-t38-template.c +++ b/asn1/t38/packet-t38-template.c @@ -513,9 +513,7 @@ dissect_t38_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.38"); - if (check_col(pinfo->cinfo, COL_INFO)){ - col_clear(pinfo->cinfo, COL_INFO); - } + col_clear(pinfo->cinfo, COL_INFO); primary_part = TRUE; @@ -560,9 +558,7 @@ dissect_t38_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint16 ifp_packet_number=1; col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.38"); - if (check_col(pinfo->cinfo, COL_INFO)){ - col_clear(pinfo->cinfo, COL_INFO); - } + col_clear(pinfo->cinfo, COL_INFO); primary_part = TRUE; |