diff options
author | Michael Mann <mmann78@netscape.net> | 2013-06-14 19:46:54 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-06-14 19:46:54 +0000 |
commit | f42e5bc9c0eb6c0e228018711694c80cdc5bc5c1 (patch) | |
tree | c84185fcaa21ac4b694206b5d263a78a22bea491 /epan/dissectors/packet-x224.c | |
parent | c5d092ec3a228d55fcedd88d86f78006abbd7064 (diff) |
Remove check_col() and the occasional tree.
This leaves just the Pidl dissectors remaining for removal of check_col() in the dissectors directory. A small handful of check_col() calls remain outside of the dissectors.
svn path=/trunk/; revision=49941
Diffstat (limited to 'epan/dissectors/packet-x224.c')
-rw-r--r-- | epan/dissectors/packet-x224.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-x224.c b/epan/dissectors/packet-x224.c index 14ee05cbec..c9ed77cfe8 100644 --- a/epan/dissectors/packet-x224.c +++ b/epan/dissectors/packet-x224.c @@ -207,11 +207,9 @@ dissect_x224(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *d proto_tree_add_item(tree, hf_x224_code, tvb, offset, 1, ENC_BIG_ENDIAN); offset+=1; - if (check_col(pinfo->cinfo, COL_INFO)) { - col_add_fstr(pinfo->cinfo, COL_INFO, "%s (0x%02x)", + col_add_fstr(pinfo->cinfo, COL_INFO, "%s (0x%02x)", val_to_str(code>>4, code_vals, "Unknown code :%x"), code); - } |