aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-quake2.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-24 20:00:21 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-24 20:00:21 +0000
commit1e66be7623925864a57d00c97b52f88708cf6b54 (patch)
tree38f6f77786d5869ee199e3e8fd80f0968be1b575 /epan/dissectors/packet-quake2.c
parent8d3dd59976ca5a8851a57f28e8c7d6a0f22062e0 (diff)
Don't guard col_append_str with check_col
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30125 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-quake2.c')
-rw-r--r--epan/dissectors/packet-quake2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/epan/dissectors/packet-quake2.c b/epan/dissectors/packet-quake2.c
index 943a01d338..836fe009d9 100644
--- a/epan/dissectors/packet-quake2.c
+++ b/epan/dissectors/packet-quake2.c
@@ -734,9 +734,7 @@ dissect_quake2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
if (tvb_get_ntohl(tvb, 0) == 0xffffffff) {
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_append_str(pinfo->cinfo, COL_INFO, " Connectionless");
- }
+ col_append_str(pinfo->cinfo, COL_INFO, " Connectionless");
if (quake2_tree)
proto_tree_add_uint_format(quake2_tree,
hf_quake2_connectionless,
@@ -746,9 +744,7 @@ dissect_quake2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvb, pinfo, quake2_tree, direction);
}
else {
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_append_str(pinfo->cinfo, COL_INFO, " Game");
- }
+ col_append_str(pinfo->cinfo, COL_INFO, " Game");
if (quake2_tree)
proto_tree_add_uint_format(quake2_tree,
hf_quake2_game,