aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mq.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-24 20:21:23 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-24 20:21:23 +0000
commit75aab3ac2f7a9c709a30583b5810eaffc2800bb6 (patch)
tree687e12b760b8702534057b7348f27994c86b617d /epan/dissectors/packet-mq.c
parentd670b7da5cdf68d4a14d8f95b429c569c496d2cf (diff)
* Prefer col_append_str instead of col_append_fstr for constant strings
* Remove check_col guards git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30127 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mq.c')
-rw-r--r--epan/dissectors/packet-mq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c
index 1419c489c4..0eeda8b46d 100644
--- a/epan/dissectors/packet-mq.c
+++ b/epan/dissectors/packet-mq.c
@@ -2289,7 +2289,7 @@ dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
else
{
/* This is a MQ segment continuation (if MQ reassembly is not enabled) */
- if (check_col(pinfo->cinfo, COL_INFO)) col_append_str(pinfo->cinfo, COL_INFO, " [Unreassembled MQ]");
+ col_append_str(pinfo->cinfo, COL_INFO, " [Unreassembled MQ]");
call_dissector(data_handle, tvb_new_subset_remaining(tvb, offset), pinfo, tree);
}
}
@@ -2297,7 +2297,7 @@ dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
else
{
/* This packet is a TCP continuation of a segment (if desegmentation is not enabled) */
- if (check_col(pinfo->cinfo, COL_INFO)) col_append_str(pinfo->cinfo, COL_INFO, " [Undesegmented]");
+ col_append_str(pinfo->cinfo, COL_INFO, " [Undesegmented]");
if (tree)
{
proto_tree_add_item(tree, proto_mq, tvb, offset, -1, FALSE);
@@ -2379,7 +2379,7 @@ reassemble_mq(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (bFirstSegment)
{
/* MQ segment is the first of a unreassembled series */
- if (check_col(pinfo->cinfo, COL_INFO)) col_append_str(pinfo->cinfo, COL_INFO, " [Unreassembled MQ]");
+ col_append_str(pinfo->cinfo, COL_INFO, " [Unreassembled MQ]");
}
return;
}