diff options
author | Michael Mann <mmann78@netscape.net> | 2014-04-06 10:57:33 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-04-06 15:11:36 +0000 |
commit | b40cb1adea4f0e5628435c65bb0a0e158241c214 (patch) | |
tree | 48951903d86b8cd6814c90d53ca8805eb8f3de38 /epan/dissectors/packet-whois.c | |
parent | 4a00ef22e3dedc65669b255f33cbf0348a2464f4 (diff) |
Apply found fix-encoding-args.pl errors in the dissector directory.
I coincidentally found a few files with errors, so I thought it might be time to run it on the whole directory again.
Change-Id: Ia32e54b3b1b94e5a418ed758ea79807c8bc7e798
Reviewed-on: https://code.wireshark.org/review/978
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-whois.c')
-rw-r--r-- | epan/dissectors/packet-whois.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-whois.c b/epan/dissectors/packet-whois.c index 6b287b865f..c9d70ed5e2 100644 --- a/epan/dissectors/packet-whois.c +++ b/epan/dissectors/packet-whois.c @@ -118,7 +118,7 @@ dissect_whois(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, whois_tree = proto_item_add_subtree(ti, ett_whois); if (is_query) { - expert_ti = proto_tree_add_item(whois_tree, hf_whois_query, tvb, 0, -1, ENC_NA); + expert_ti = proto_tree_add_item(whois_tree, hf_whois_query, tvb, 0, -1, ENC_ASCII|ENC_NA); if ((len < 2) || (tvb_memeql(tvb, len - 2, "\r\n", 2))) { /* * From RFC3912, section 2: @@ -132,7 +132,7 @@ dissect_whois(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, PROTO_ITEM_SET_GENERATED(ti); } } else if (tree && whois_trans->rep_frame) { - proto_tree_add_item(whois_tree, hf_whois_answer, tvb, 0, -1, ENC_NA); + proto_tree_add_item(whois_tree, hf_whois_answer, tvb, 0, -1, ENC_ASCII|ENC_NA); if (whois_trans->req_frame) { nstime_t ns; |