From 2a7ae832a8f7fa0951d538eab132d812e5af884c Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 12 Jul 2019 21:11:21 +0200 Subject: [PATCH] mod_spam_filter: Fix function specification --- mod_spam_filter/src/mod_spam_filter.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_spam_filter/src/mod_spam_filter.erl b/mod_spam_filter/src/mod_spam_filter.erl index 0eba576..bc82a87 100644 --- a/mod_spam_filter/src/mod_spam_filter.erl +++ b/mod_spam_filter/src/mod_spam_filter.erl @@ -584,7 +584,7 @@ close_dump_file(#state{host = Host} = State) -> DumpFile1 = expand_host(DumpFile, Host), close_dump_file(DumpFile1, State). --spec close_dump_file(binary(), state()) -> ok. +-spec close_dump_file(filename(), state()) -> ok. close_dump_file(_Name, #state{dump_fd = undefined}) -> ok; close_dump_file(Name, #state{dump_fd = Fd}) ->