diff options
author | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-09 06:47:24 +0000 |
---|---|---|
committer | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-09 06:47:24 +0000 |
commit | a4ec6151729e7f8d37fca4b16909635b0fe11996 (patch) | |
tree | e58e91c90ce6dea49642f282aa7058a79bcc84da /epan/dissectors/packet-ehs.c | |
parent | d9503878072210dc1b03da41b9c5ecaea8cb22f7 (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 'epan/dissectors/packet-ehs.c')
-rw-r--r-- | epan/dissectors/packet-ehs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ehs.c b/epan/dissectors/packet-ehs.c index ad86a087be..84faf29210 100644 --- a/epan/dissectors/packet-ehs.c +++ b/epan/dissectors/packet-ehs.c @@ -1063,8 +1063,7 @@ dissect_ehs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) int protocol; int year, jday, hour, minute, second, tenths; - if ( check_col(pinfo->cinfo, COL_PROTOCOL) ) - col_set_str ( pinfo->cinfo, COL_PROTOCOL, "EHS" ); + col_set_str(pinfo->cinfo, COL_PROTOCOL, "EHS"); if ( check_col(pinfo->cinfo, COL_INFO) ) col_set_str ( pinfo->cinfo, COL_INFO, "EHS" ); |