mod_spam_filter: Fix function specification
This commit is contained in:
parent
4af4244975
commit
2a7ae832a8
|
@ -584,7 +584,7 @@ close_dump_file(#state{host = Host} = State) ->
|
||||||
DumpFile1 = expand_host(DumpFile, Host),
|
DumpFile1 = expand_host(DumpFile, Host),
|
||||||
close_dump_file(DumpFile1, State).
|
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}) ->
|
close_dump_file(_Name, #state{dump_fd = undefined}) ->
|
||||||
ok;
|
ok;
|
||||||
close_dump_file(Name, #state{dump_fd = Fd}) ->
|
close_dump_file(Name, #state{dump_fd = Fd}) ->
|
||||||
|
|
Loading…
Reference in New Issue