mod_spam_filter: Fix function specification

This commit is contained in:
Holger Weiss 2019-07-12 21:11:21 +02:00
parent 4af4244975
commit 2a7ae832a8
1 changed files with 1 additions and 1 deletions

View File

@ -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}) ->