diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-04-08 15:21:07 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-04-08 15:21:07 +0000 |
commit | a10b76a99b9d620ca3ca2769ca2e8d15ce50d35d (patch) | |
tree | 6f0eceb48ceaaee882149c02988b01e618d01997 /plugins/wimax/msg_res_cmd.c | |
parent | 441c3f63b2d508910e1b18491899c3aa1b8b502a (diff) |
Get rid of check_col().
svn path=/trunk/; revision=32426
Diffstat (limited to 'plugins/wimax/msg_res_cmd.c')
-rw-r--r-- | plugins/wimax/msg_res_cmd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/wimax/msg_res_cmd.c b/plugins/wimax/msg_res_cmd.c index cfe80284dd..7949ed372e 100644 --- a/plugins/wimax/msg_res_cmd.c +++ b/plugins/wimax/msg_res_cmd.c @@ -93,10 +93,7 @@ void dissect_mac_mgmt_msg_res_cmd_decoder(tvbuff_t *tvb, packet_info *pinfo, pro tlv_len = get_tlv_length(&tlv_info); if(tlv_type == -1 || tlv_len > MAX_TLV_LEN || tlv_len < 1) { /* invalid tlv info */ - if(check_col(pinfo->cinfo, COL_INFO)) - { - col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "RES-CMD TLV error"); - } + col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "RES-CMD TLV error"); proto_tree_add_item(res_cmd_tree, hf_res_cmd_invalid_tlv, tvb, offset, (tvb_len - offset), FALSE); break; } |