diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 07:01:26 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 07:01:26 +0000 |
commit | 4b6090e5766e315090c2f3d15cb3368d98168be9 (patch) | |
tree | d037fcc527744affba9a5d599723b9be8f4f6d2c /plugins/irda | |
parent | 24ca3c44c9e72bb95ed5f3bb9608600555de368e (diff) | |
download | wireshark-4b6090e5766e315090c2f3d15cb3368d98168be9.tar.gz wireshark-4b6090e5766e315090c2f3d15cb3368d98168be9.tar.bz2 wireshark-4b6090e5766e315090c2f3d15cb3368d98168be9.zip |
Don't guard col_set_str (COL_INFO) with col_check
svn path=/trunk/; revision=29342
Diffstat (limited to 'plugins/irda')
-rw-r--r-- | plugins/irda/packet-irda.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/irda/packet-irda.c b/plugins/irda/packet-irda.c index 2d4a56f1fb..9698051366 100644 --- a/plugins/irda/packet-irda.c +++ b/plugins/irda/packet-irda.c @@ -1673,9 +1673,7 @@ static void dissect_log(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root) /* missed messages? */ if (pinfo->pseudo_header->irda.pkttype == IRDA_MISSED_MSG) { - if (check_col(pinfo->cinfo, COL_INFO)) - col_set_str(pinfo->cinfo, COL_INFO, - "WARNING: Missed one or more messages while capturing!"); + col_set_str(pinfo->cinfo, COL_INFO, "WARNING: Missed one or more messages while capturing!"); } else if (check_col(pinfo->cinfo, COL_INFO)) { |