aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x11.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 07:01:26 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 07:01:26 +0000
commit4b6090e5766e315090c2f3d15cb3368d98168be9 (patch)
treed037fcc527744affba9a5d599723b9be8f4f6d2c /epan/dissectors/packet-x11.c
parent24ca3c44c9e72bb95ed5f3bb9608600555de368e (diff)
Don't guard col_set_str (COL_INFO) with col_check
svn path=/trunk/; revision=29342
Diffstat (limited to 'epan/dissectors/packet-x11.c')
-rw-r--r--epan/dissectors/packet-x11.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/epan/dissectors/packet-x11.c b/epan/dissectors/packet-x11.c
index 8fe9599c72..c558a47a3f 100644
--- a/epan/dissectors/packet-x11.c
+++ b/epan/dissectors/packet-x11.c
@@ -4300,16 +4300,13 @@ static void dissect_x11_requests(tvbuff_t *tvb, packet_info *pinfo,
* Set the column appropriately.
*/
if (is_initial_creq) {
- if (check_col(pinfo->cinfo, COL_INFO))
- col_set_str(pinfo->cinfo, COL_INFO,
- "Initial connection request");
+ col_set_str(pinfo->cinfo, COL_INFO, "Initial connection request");
} else {
if (sep == NULL) {
/*
* We haven't set the column yet; set it.
*/
- if (check_col(pinfo->cinfo, COL_INFO))
- col_set_str(pinfo->cinfo, COL_INFO, "Requests");
+ col_set_str(pinfo->cinfo, COL_INFO, "Requests");
/*
* Initialize the separator.