aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/mac_mgmt_msg_decoder.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-24 20:21:23 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-24 20:21:23 +0000
commit00810ff19994509f4f8a080286ad43f5156e76c2 (patch)
tree687e12b760b8702534057b7348f27994c86b617d /plugins/wimax/mac_mgmt_msg_decoder.c
parent830dd8e8f05e39238b97857e161821a41ff985df (diff)
* Prefer col_append_str instead of col_append_fstr for constant strings
* Remove check_col guards svn path=/trunk/; revision=30127
Diffstat (limited to 'plugins/wimax/mac_mgmt_msg_decoder.c')
-rw-r--r--plugins/wimax/mac_mgmt_msg_decoder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/wimax/mac_mgmt_msg_decoder.c b/plugins/wimax/mac_mgmt_msg_decoder.c
index 1f8c137ef5..f1dcaebe6e 100644
--- a/plugins/wimax/mac_mgmt_msg_decoder.c
+++ b/plugins/wimax/mac_mgmt_msg_decoder.c
@@ -218,8 +218,7 @@ void dissect_mac_mgmt_msg_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree
}
else
{
- if (check_col(pinfo->cinfo, COL_INFO))
- col_append_str(pinfo->cinfo, COL_INFO, "Unknown message type,");
+ col_append_str(pinfo->cinfo, COL_INFO, "Unknown message type,");
/* display MAC payload types */
message_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_decoder, tvb, offset, tvb_len, "Unknown message type: %u (%u bytes)", message_type, tvb_len);
/* add MAC payload subtree */