diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-02-12 11:24:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-02-12 11:24:24 +0000 |
commit | 6860dae553972d3ea17f3880720d0a707fe069fe (patch) | |
tree | cecdc4348e0a2b1cf920f36a13747766a3d0d29a /plugins/plugin_api.c | |
parent | 99576b1786bc535bd5648831ad131c6ced75307e (diff) |
"proto_add_item_subtree()" returns a value; its wrapper should return
the value that the real function returns.
svn path=/trunk/; revision=1627
Diffstat (limited to 'plugins/plugin_api.c')
-rw-r--r-- | plugins/plugin_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/plugin_api.c b/plugins/plugin_api.c index 0706160a0a..4262c7ca58 100644 --- a/plugins/plugin_api.c +++ b/plugins/plugin_api.c @@ -1,7 +1,7 @@ /* plugin_api.c * Routines for Ethereal plugins. * - * $Id: plugin_api.c,v 1.3 2000/02/09 19:32:28 gram Exp $ + * $Id: plugin_api.c,v 1.4 2000/02/12 11:24:24 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@xiexie.org> @@ -97,10 +97,10 @@ proto_register_subtree_array(int** indices, int num_indices) patable->proto_register_subtree_array(indices, num_indices); } -proto_tree* +proto_tree * proto_item_add_subtree(proto_item* pi, gint idx) { - patable->proto_item_add_subtree(pi, idx); + return patable->proto_item_add_subtree(pi, idx); } proto_item * |