mod_http_upload: Apply minor cosmetic changes

This commit is contained in:
Holger Weiss 2015-10-22 22:50:39 +02:00
parent 511f0fa03d
commit c37387984a
2 changed files with 4 additions and 4 deletions

View File

@ -8,9 +8,9 @@
DESCRIPTION DESCRIPTION
----------- -----------
This module allows for requesting permissions to upload a file via HTTP. This module allows for requesting permissions to upload a file via HTTP. If
If the request is accepted, the client receives a URL to use for uploading the request is accepted, the client receives a URL to use for uploading the
the file and another URL from which that file can later be downloaded. file and another URL from which that file can later be downloaded.
Automatic quota management can be configured by also enabling Automatic quota management can be configured by also enabling
mod_http_upload_quota. mod_http_upload_quota.

View File

@ -153,7 +153,7 @@ mod_opt_type(access) ->
fun(A) when is_atom(A) -> A end; fun(A) when is_atom(A) -> A end;
mod_opt_type(max_size) -> mod_opt_type(max_size) ->
fun(I) when is_integer(I), I > 0 -> I; fun(I) when is_integer(I), I > 0 -> I;
(infinity) -> infinity (infinity) -> infinity
end; end;
mod_opt_type(secret_length) -> mod_opt_type(secret_length) ->
fun(I) when is_integer(I), I >= 8 -> I end; fun(I) when is_integer(I), I >= 8 -> I end;