Skip to content

Commit

Permalink
Merge pull request trusteddomainproject#201 from futatuki/lua52-fix-s…
Browse files Browse the repository at this point in the history
…tack'
  • Loading branch information
futatuki committed Feb 27, 2024
2 parents e9028c3 + 57b86d3 commit dc2135e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion miltertest/miltertest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
8 changes: 4 additions & 4 deletions opendkim/opendkim-lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit dc2135e

Please sign in to comment.