mod_http_upload: Fix function specification

This commit is contained in:
Holger Weiss 2015-10-26 22:39:58 +01:00
parent c173ae9f36
commit 1ee52e2e42
1 changed files with 3 additions and 1 deletions

View File

@ -701,7 +701,9 @@ iq_disco_info(Lang, Name) ->
%% HTTP request handling. %% HTTP request handling.
-spec store_file(file:filename_all(), binary(), integer(), integer()) -spec store_file(file:filename_all(), binary(),
integer() | undefined,
integer() | undefined)
-> ok | {error, term()}. -> ok | {error, term()}.
store_file(Path, Data, FileMode, DirMode) -> store_file(Path, Data, FileMode, DirMode) ->