Skip to content

Commit

Permalink
Merge pull request trusteddomainproject#213 from branciar/lua_delhead…
Browse files Browse the repository at this point in the history
…er_fix

Fix issue trusteddomainproject#191
  • Loading branch information
futatuki committed Apr 9, 2024
2 parents fe2288d + ab81db9 commit 4bdd918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendkim/opendkim.c
Original file line number Diff line number Diff line change
Expand Up @@ -3719,7 +3719,7 @@ dkimf_xs_delheader(lua_State *l)

if (ctx == NULL)
lua_pushnil(l);
else if (dkimf_chgheader(ctx, name, 1, NULL) == MI_SUCCESS)
else if (dkimf_chgheader(ctx, name, idx+1, NULL) == MI_SUCCESS)
lua_pushnumber(l, 1);
else
lua_pushnil(l);
Expand Down

0 comments on commit 4bdd918

Please sign in to comment.