diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-27 20:30:38 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-27 20:30:38 +0000 |
commit | 2861100286a380873724cacb879b4b1cbf97e791 (patch) | |
tree | ddab9db024cfcf58645c84147e59d7cb8d3e5445 /epan/dissectors/packet-ucp.c | |
parent | ae35edb0d3f037d7ba14df66ed878f601e1b23d3 (diff) |
Fix proto_tree_add_item( encoding args;
Do whitespace cleanup (for a few files).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39640 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ucp.c')
-rw-r--r-- | epan/dissectors/packet-ucp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ucp.c b/epan/dissectors/packet-ucp.c index 739c8c1966..1e1fa9f447 100644 --- a/epan/dissectors/packet-ucp.c +++ b/epan/dissectors/packet-ucp.c @@ -798,7 +798,7 @@ ucp_handle_string(proto_tree *tree, tvbuff_t *tvb, int field, int *offset) } else len = idx - *offset; if (len > 0) - proto_tree_add_item(tree, field, tvb, *offset, len, FALSE); + proto_tree_add_item(tree, field, tvb, *offset, len, ENC_ASCII|ENC_NA); *offset += len; if (idx != -1) *offset += 1; /* skip terminating '/' */ |