From 1ee52e2e42ad740788d0f8deaa7b75a02c2790b1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 26 Oct 2015 22:39:58 +0100 Subject: [PATCH] mod_http_upload: Fix function specification --- mod_http_upload/src/mod_http_upload.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod_http_upload/src/mod_http_upload.erl b/mod_http_upload/src/mod_http_upload.erl index cc1050b..ab76b62 100644 --- a/mod_http_upload/src/mod_http_upload.erl +++ b/mod_http_upload/src/mod_http_upload.erl @@ -701,7 +701,9 @@ iq_disco_info(Lang, Name) -> %% 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()}. store_file(Path, Data, FileMode, DirMode) ->