From 6110a96f689d51c92c5b00b4dfda3a9cd6916a25 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 9 Aug 2009 07:59:51 +0000 Subject: Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check svn path=/trunk/; revision=29345 --- epan/dissectors/packet-h261.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'epan/dissectors/packet-h261.c') diff --git a/epan/dissectors/packet-h261.c b/epan/dissectors/packet-h261.c index 59da18ca61..5c3135bd32 100644 --- a/epan/dissectors/packet-h261.c +++ b/epan/dissectors/packet-h261.c @@ -68,13 +68,9 @@ dissect_h261( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) proto_tree *h261_tree = NULL; unsigned int offset = 0; - if ( check_col( pinfo->cinfo, COL_PROTOCOL ) ) { - col_set_str( pinfo->cinfo, COL_PROTOCOL, "H.261" ); - } + col_set_str(pinfo->cinfo, COL_PROTOCOL, "H.261"); - if ( check_col( pinfo->cinfo, COL_INFO) ) { - col_set_str( pinfo->cinfo, COL_INFO, "H.261 message"); - } + col_set_str(pinfo->cinfo, COL_INFO, "H.261 message"); if ( tree ) { ti = proto_tree_add_item( tree, proto_h261, tvb, offset, -1, FALSE ); -- cgit v1.2.3