Skip to content

Commit 4bdd918

Browse files
committed
Merge pull request trusteddomainproject#213 from branciar/lua_delheader_fix
Fix issue trusteddomainproject#191
2 parents fe2288d + ab81db9 commit 4bdd918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opendkim/opendkim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3719,7 +3719,7 @@ dkimf_xs_delheader(lua_State *l)
37193719

37203720
if (ctx == NULL)
37213721
lua_pushnil(l);
3722-
else if (dkimf_chgheader(ctx, name, 1, NULL) == MI_SUCCESS)
3722+
else if (dkimf_chgheader(ctx, name, idx+1, NULL) == MI_SUCCESS)
37233723
lua_pushnumber(l, 1);
37243724
else
37253725
lua_pushnil(l);

0 commit comments

Comments
 (0)