aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/unistim
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-09 06:47:24 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-09 06:47:24 +0000
commita4ec6151729e7f8d37fca4b16909635b0fe11996 (patch)
treee58e91c90ce6dea49642f282aa7058a79bcc84da /plugins/unistim
parentd9503878072210dc1b03da41b9c5ecaea8cb22f7 (diff)
Don't guard col_set_str (COL_PROTOCOL) with col_check
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29341 f5534014-38df-0310-8fa8-9805f1628bb7
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);