aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua.h
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2008-11-21 15:47:14 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2008-11-21 15:47:14 +0000
commit0e4856e8b9200bc5668f86aab1af8ddd2d27b9f2 (patch)
tree1f7f8570a8e1ff5aa140cc95124ce10397d1e3fc /epan/wslua/wslua.h
parent210e7c0d977584437d0096e8091b29b629e4d7da (diff)
Fix PDU reassembly for Lua dissectors.
Now Lua dissectors that do not request PDU reassembly will work again. svn path=/trunk/; revision=26821
Diffstat (limited to 'epan/wslua/wslua.h')
-rw-r--r--epan/wslua/wslua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua.h b/epan/wslua/wslua.h
index 797cdbc427..7403d03c06 100644
--- a/epan/wslua/wslua.h
+++ b/epan/wslua/wslua.h
@@ -329,8 +329,8 @@ typedef int dummy##C
#define WSLUA_OPTARG_ERROR(name,attr,error) { luaL_argerror(L,WSLUA_OPTARG_##name##_ ##attr, #name ": " error); return 0; }
#define WSLUA_REG_GLOBAL_BOOL(L,n,v) { lua_pushstring(L,n); lua_pushboolean(L,v); lua_settable(L, LUA_GLOBALSINDEX); }
-#define WSLUA_REG_GLOBAL_STRING(n,v) { lua_pushstring(L,n); lua_pushstring(L,v); lua_settable(L, LUA_GLOBALSINDEX); }
-#define WSLUA_REG_GLOBAL_NUMBER(n,v) { lua_pushstring(L,n); lua_pushnumber(L,v); lua_settable(L, LUA_GLOBALSINDEX); }
+#define WSLUA_REG_GLOBAL_STRING(L,n,v) { lua_pushstring(L,n); lua_pushstring(L,v); lua_settable(L, LUA_GLOBALSINDEX); }
+#define WSLUA_REG_GLOBAL_NUMBER(L,n,v) { lua_pushstring(L,n); lua_pushnumber(L,v); lua_settable(L, LUA_GLOBALSINDEX); }
#define WSLUA_RETURN(i) return (i);