diff --git a/miltertest/miltertest.c b/miltertest/miltertest.c index b4a345f7..339cfa91 100644 --- a/miltertest/miltertest.c +++ b/miltertest/miltertest.c @@ -4014,8 +4014,8 @@ main(int argc, char **argv) lua_setglobal(l, "mt"); #else /* LUA_VERSION_NUM >= 502 */ luaL_register(l, "mt", mt_library); -#endif /* LUA_VERSION_NUM >= 502 */ lua_pop(l, 1); +#endif /* LUA_VERSION_NUM >= 502 */ /* register constants */ lua_pushnumber(l, MT_HDRINSERT); diff --git a/opendkim/opendkim-lua.c b/opendkim/opendkim-lua.c index 3786aa4b..c1a67f90 100644 --- a/opendkim/opendkim-lua.c +++ b/opendkim/opendkim-lua.c @@ -490,8 +490,8 @@ dkimf_lua_setup_hook(void *ctx, const char *script, size_t scriptlen, lua_setglobal(l, "odkim"); # else /* LUA_VERSION_NUM >= 502 */ luaL_register(l, "odkim", dkimf_lua_lib_setup); -# endif /* LUA_VERSION_NUM >= 502 */ lua_pop(l, 1); +# endif /* LUA_VERSION_NUM >= 502 */ /* ** Register constants. @@ -649,8 +649,8 @@ dkimf_lua_screen_hook(void *ctx, const char *script, size_t scriptlen, lua_setglobal(l, "odkim"); # else /* LUA_VERSION_NUM >= 502 */ luaL_register(l, "odkim", dkimf_lua_lib_screen); -# endif /* LUA_VERSION_NUM >= 502 */ lua_pop(l, 1); +# endif /* LUA_VERSION_NUM >= 502 */ /* ** Register constants. @@ -798,8 +798,8 @@ dkimf_lua_stats_hook(void *ctx, const char *script, size_t scriptlen, lua_setglobal(l, "odkim"); # else /* LUA_VERSION_NUM >= 502 */ luaL_register(l, "odkim", dkimf_lua_lib_stats); -# endif /* LUA_VERSION_NUM >= 502 */ lua_pop(l, 1); +# endif /* LUA_VERSION_NUM >= 502 */ /* ** Register constants. @@ -1039,8 +1039,8 @@ dkimf_lua_final_hook(void *ctx, const char *script, size_t scriptlen, lua_setglobal(l, "odkim"); # else /* LUA_VERSION_NUM >= 502 */ luaL_register(l, "odkim", dkimf_lua_lib_final); -# endif /* LUA_VERSION_NUM >= 502 */ lua_pop(l, 1); +# endif /* LUA_VERSION_NUM >= 502 */ /* ** Register constants.