aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_listener.c
diff options
context:
space:
mode:
authorHadriel Kaplan <hadrielk@yahoo.com>2014-01-31 02:25:42 -0500
committerEvan Huus <eapache@gmail.com>2014-01-31 16:31:59 +0000
commit3d59ff9e95aab13cadd046afcc36cb8c290b6e62 (patch)
treea1a49ef007d737f86dba0a9a8f73100e4fb4815f /epan/wslua/wslua_listener.c
parenta94d127b771da2a7353ad26d8a70c4fe2cbc32fe (diff)
Fix for Bug-9711 Lua: the Lua stack is growing slightly during initialization.
Change-Id: I689319c0071fdb42583e8bd7633d8f0660c92f1b Reviewed-on: https://code.wireshark.org/review/51 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/wslua/wslua_listener.c')
-rw-r--r--epan/wslua/wslua_listener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/wslua_listener.c b/epan/wslua/wslua_listener.c
index 1406da39d4..33f4ddc595 100644
--- a/epan/wslua/wslua_listener.c
+++ b/epan/wslua/wslua_listener.c
@@ -318,6 +318,6 @@ static const luaL_Reg Listener_meta[] = {
int Listener_register(lua_State* L) {
wslua_set_tap_enums(L);
WSLUA_REGISTER_CLASS(Listener);
- return 1;
+ return 0;
}