aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-14 10:42:26 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-14 18:42:50 +0000
commita21436eaeddb4979950e569f8004d84680af8075 (patch)
tree34b127324573aafc11d7a8bab6bbf5e84e8ed8de /epan/wslua
parent0e64efc81a2ee96bcfa8ba43c4aab2e1b0a2d95f (diff)
tap_ui -> stat_tap_ui.
The old routine had stat_ in the name, as the expectation was that they were for statistics taps; that's still the expectation, so have stat_ in the data structure and routine names. Change-Id: Ic98d011012b8641173d41fa0ec4f4e625614370a Reviewed-on: https://code.wireshark.org/review/5303 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/wslua')
-rw-r--r--epan/wslua/wslua_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_util.c b/epan/wslua/wslua_util.c
index 4db45287a2..6a98c68ee2 100644
--- a/epan/wslua/wslua_util.c
+++ b/epan/wslua/wslua_util.c
@@ -264,7 +264,7 @@ WSLUA_FUNCTION wslua_register_stat_cmd_arg(lua_State* L) {
#define WSLUA_OPTARG_register_stat_cmd_arg_ACTION 2 /* Action */
const char* arg = luaL_checkstring(L,WSLUA_ARG_register_stat_cmd_arg_ARGUMENT);
statcmd_t* sc = (statcmd_t *)g_malloc0(sizeof(statcmd_t)); /* XXX leaked */
- tap_ui ui_info;
+ stat_tap_ui ui_info;
sc->L = L;
lua_pushvalue(L, WSLUA_OPTARG_register_stat_cmd_arg_ACTION);
@@ -278,7 +278,7 @@ WSLUA_FUNCTION wslua_register_stat_cmd_arg(lua_State* L) {
ui_info.index = -1;
ui_info.nparams = 0;
ui_info.params = NULL;
- register_tap_ui(&ui_info, sc);
+ register_stat_tap_ui(&ui_info, sc);
return 0;
}