aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/unistim
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 06:47:24 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 06:47:24 +0000
commit24ca3c44c9e72bb95ed5f3bb9608600555de368e (patch)
treee58e91c90ce6dea49642f282aa7058a79bcc84da /plugins/unistim
parente971354a546be5efc284c72e49689a2e337bc198 (diff)
Don't guard col_set_str (COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29341
Diffstat (limited to 'plugins/unistim')
-rw-r--r--plugins/unistim/packet-unistim.c3
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);