Skip to content

Commit 68a132b

Browse files
committed
Merge pull request trusteddomainproject#195 from link2xt/link2xt/fix-screen-lua-sample
Fix sample script screen.lua.sample, off-by-one error and typo in function name.
2 parents 4340b5f + 337d2d8 commit 68a132b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opendkim/screen.lua.sample

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ end
2424

2525
-- for each signature, ignore it if it's not from the sender's domain
2626
for n = 1, nsigs do
27-
sig = odkim.get_signhandle(ctx, n)
27+
sig = odkim.get_sighandle(ctx, n - 1)
2828
sdomain = odkim.sig_getdomain(sig)
2929
if fdomain ~= sdomain then
3030
odkim.sig_ignore(sig)

0 commit comments

Comments
 (0)