diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 06:47:24 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 06:47:24 +0000 |
commit | 24ca3c44c9e72bb95ed5f3bb9608600555de368e (patch) | |
tree | e58e91c90ce6dea49642f282aa7058a79bcc84da /plugins | |
parent | e971354a546be5efc284c72e49689a2e337bc198 (diff) | |
download | wireshark-24ca3c44c9e72bb95ed5f3bb9608600555de368e.tar.gz wireshark-24ca3c44c9e72bb95ed5f3bb9608600555de368e.tar.bz2 wireshark-24ca3c44c9e72bb95ed5f3bb9608600555de368e.zip |
Don't guard col_set_str (COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29341
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/unistim/packet-unistim.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index 4767dbef6a..1a7799ab86 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -1543,8 +1543,7 @@ dissect_unistim(tvbuff_t *tvb,packet_info *pinfo,proto_tree *tree){ size=tvb_length_remaining(tvb, offset); - if(check_col(pinfo->cinfo,COL_PROTOCOL)) - col_set_str(pinfo->cinfo,COL_PROTOCOL,"UNISTIM"); + col_set_str(pinfo->cinfo, COL_PROTOCOL, "UNISTIM"); /* Clear out stuff in the info column */ if (check_col(pinfo->cinfo,COL_INFO)) { col_clear(pinfo->cinfo,COL_INFO); |