diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-01-04 03:01:14 +0300 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-01-04 03:01:14 +0300 |
commit | 94c620cc2780fe8efa1650b732149f620c4397dd (patch) | |
tree | 262e2ab10b2b13e2bfc4cf2ccdb9e06f593e3dff /src | |
parent | fc013442bbce6a6d9b8f31a6747edd0d4b9a23fa (diff) |
mod_http_upload: Fix logging of file size mismatch
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_http_upload.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl index 6d19f873f..661163703 100644 --- a/src/mod_http_upload.erl +++ b/src/mod_http_upload.erl @@ -412,7 +412,7 @@ process([_UserDir, _RandDir, _FileName] = Slot, [Path, ?ADDR_TO_STR(IP), Host, ?FORMAT(Error)]), http_response(Host, 500) end; - {ok, Size, Path} -> + {ok, Size, Path, _FileMode, _DirMode, _GetPrefix, _Thumbnail} -> ?INFO_MSG("Rejecting file ~s from ~s for ~s: Size is ~B, not ~B", [Path, ?ADDR_TO_STR(IP), Host, byte_size(Data), Size]), http_response(Host, 413); |