aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sipfrag.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-sipfrag.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-sipfrag.c')
-rw-r--r--epan/dissectors/packet-sipfrag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sipfrag.c b/epan/dissectors/packet-sipfrag.c
index 65b3824668..6f6d0f4f7c 100644
--- a/epan/dissectors/packet-sipfrag.c
+++ b/epan/dissectors/packet-sipfrag.c
@@ -58,8 +58,7 @@ static void dissect_sipfrag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
gint lines = 0;
/* Append this protocol name rather than replace. */
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_append_str(pinfo->cinfo, COL_PROTOCOL, "/sipfrag");
+ col_append_str(pinfo->cinfo, COL_PROTOCOL, "/sipfrag");
/* Add mention of this protocol to info column */
col_append_str(pinfo->cinfo, COL_INFO, ", with Sipfrag");