aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-artnet.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-09 07:59:51 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-09 07:59:51 +0000
commit7a1740736d1aca5c3f0e07951327d24056237c5c (patch)
treeef21c459b918013ddfaded20b267565537e9bf64 /epan/dissectors/packet-artnet.c
parentb2e9a22ec53becba2c23777ffee4ff375d135698 (diff)
Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29345 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-artnet.c')
-rw-r--r--epan/dissectors/packet-artnet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-artnet.c b/epan/dissectors/packet-artnet.c
index 2ae1becf11..c76fa241a7 100644
--- a/epan/dissectors/packet-artnet.c
+++ b/epan/dissectors/packet-artnet.c
@@ -1364,9 +1364,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
proto_tree *ti,*hi,*si,*artnet_tree=NULL,*artnet_header_tree=NULL;
/* Set the protocol column */
- if(check_col(pinfo->cinfo,COL_PROTOCOL)){
- col_set_str(pinfo->cinfo,COL_PROTOCOL,"ARTNET");
- }
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ARTNET");
/* Clear out stuff in the info column */
if(check_col(pinfo->cinfo,COL_INFO)){