aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2015-02-18 19:07:22 +0100
committerAnders Broman <a.broman58@gmail.com>2015-02-19 14:24:28 +0000
commitd330cf717d44fc544cba0eb53878d314abd50756 (patch)
treefbf088ea0aee567cff200d4725a09c0948c29e9f /doc
parentca68a7adc306dcd177d731766833a0369768027a (diff)
Documentation fix (reported by Richard Sharpe).
Change-Id: Ie4979c1be0e325178e3c662e0b2c5bbfc58456d9 Reviewed-on: https://code.wireshark.org/review/7252 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.dissector8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/README.dissector b/doc/README.dissector
index 720b734861..c5d2756979 100644
--- a/doc/README.dissector
+++ b/doc/README.dissector
@@ -1106,12 +1106,12 @@ protocol or field labels to the proto_tree:
proto_tree_add_item(tree, id, tvb, start, length, encoding);
proto_item*
- proto_tree_add_subtree(tree, tvb, start, length, subtree_id, tree_item,
- label);
+ proto_tree_add_subtree(tree, tvb, start, length, idx, tree_item,
+ text);
proto_item*
- proto_tree_add_subtree_format(tree, tvb, start, length, subtree_id,
- tree_item. format, ...);
+ proto_tree_add_subtree_format(tree, tvb, start, length, idx, tree_item,
+ format, ...);
proto_item*
proto_tree_add_none_format(tree, id, tvb, start, length, format, ...);