From e971354a546be5efc284c72e49689a2e337bc198 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 9 Aug 2009 06:26:46 +0000 Subject: Don't guard col_set_str (COL_PROTOCOL) with col_check svn path=/trunk/; revision=29340 --- epan/dissectors/packet-sndcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'epan/dissectors/packet-sndcp.c') diff --git a/epan/dissectors/packet-sndcp.c b/epan/dissectors/packet-sndcp.c index 67a2cef71a..ebd0d84df2 100644 --- a/epan/dissectors/packet-sndcp.c +++ b/epan/dissectors/packet-sndcp.c @@ -208,8 +208,7 @@ dissect_sndcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Make entries in Protocol column and clear Info column on summary display */ - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_set_str(pinfo->cinfo, COL_PROTOCOL, "SNDCP"); + col_set_str(pinfo->cinfo, COL_PROTOCOL, "SNDCP"); if (check_col(pinfo->cinfo, COL_INFO)) col_clear(pinfo->cinfo, COL_INFO); -- cgit v1.2.3