aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-finger.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-04-06 10:57:33 -0400
committerMichael Mann <mmann78@netscape.net>2014-04-06 15:11:36 +0000
commitb40cb1adea4f0e5628435c65bb0a0e158241c214 (patch)
tree48951903d86b8cd6814c90d53ca8805eb8f3de38 /epan/dissectors/packet-finger.c
parent4a00ef22e3dedc65669b255f33cbf0348a2464f4 (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-finger.c')
-rw-r--r--epan/dissectors/packet-finger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-finger.c b/epan/dissectors/packet-finger.c
index ccc7a0e4b1..6036a5e6bc 100644
--- a/epan/dissectors/packet-finger.c
+++ b/epan/dissectors/packet-finger.c
@@ -118,7 +118,7 @@ dissect_finger(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
finger_tree = proto_item_add_subtree(ti, ett_finger);
if (is_query) {
- expert_ti = proto_tree_add_item(finger_tree, hf_finger_query, tvb, 0, -1, ENC_NA);
+ expert_ti = proto_tree_add_item(finger_tree, hf_finger_query, tvb, 0, -1, ENC_ASCII|ENC_NA);
if ((len < 2) || (tvb_memeql(tvb, len - 2, "\r\n", 2))) {
/*
* From RFC742, Send a single "command line", ending with <CRLF>.
@@ -131,7 +131,7 @@ dissect_finger(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
PROTO_ITEM_SET_GENERATED(ti);
}
} else if (tree && finger_trans->rep_frame) {
- proto_tree_add_item(finger_tree, hf_finger_response, tvb, 0, -1, ENC_NA);
+ proto_tree_add_item(finger_tree, hf_finger_response, tvb, 0, -1, ENC_ASCII|ENC_NA);
if (finger_trans->req_frame) {
nstime_t ns;