aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-07-10 10:25:23 +0200
committerIngela Anderton Andin <[email protected]>2017-07-10 10:25:23 +0200
commit7f4340ab89adda49cdae65dce58ffcb85293d909 (patch)
tree042d0d04e0c60d5c98929fd1bb79e5358a938d58 /lib
parentf934a632ba55be8a12e8eefddf388713b2514882 (diff)
parent636a6faa59bc11e14de27358633c64f35ed075af (diff)
downloadotp-7f4340ab89adda49cdae65dce58ffcb85293d909.tar.gz
otp-7f4340ab89adda49cdae65dce58ffcb85293d909.tar.bz2
otp-7f4340ab89adda49cdae65dce58ffcb85293d909.zip
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r--lib/inets/src/http_server/mod_log.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_server/mod_log.erl b/lib/inets/src/http_server/mod_log.erl
index ad7e9713d9..ec570504be 100644
--- a/lib/inets/src/http_server/mod_log.erl
+++ b/lib/inets/src/http_server/mod_log.erl
@@ -105,8 +105,8 @@ do(Info) ->
Code = proplists:get_value(code,Head,unknown),
transfer_log(Info, "-", AuthUser, Date, Code, Size),
{proceed, Info#mod.data};
- {_StatusCode, Response} ->
- transfer_log(Info,"-",AuthUser,Date,200,
+ {StatusCode, Response} ->
+ transfer_log(Info, "-", AuthUser, Date, StatusCode,
httpd_util:flatlength(Response)),
{proceed,Info#mod.data};
undefined ->