aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_client/httpc_handler.erl
diff options
context:
space:
mode:
authorErland Schönbeck <[email protected]>2015-03-25 12:55:19 +0100
committerErland Schönbeck <[email protected]>2015-03-25 12:55:19 +0100
commitd6797e9a34df677e82db5ee8b8388fbdf57f09f5 (patch)
tree1229a0acce281d4185d1ffcea44569947c31009c /lib/inets/src/http_client/httpc_handler.erl
parenta206e66f13471cdad02a966fcb569673e0938fa4 (diff)
parente10385909c687590d6522d007bba9d72f3f5c380 (diff)
downloadotp-d6797e9a34df677e82db5ee8b8388fbdf57f09f5.tar.gz
otp-d6797e9a34df677e82db5ee8b8388fbdf57f09f5.tar.bz2
otp-d6797e9a34df677e82db5ee8b8388fbdf57f09f5.zip
Merge branch 'erland/OTP18/inets/time_api/OTP-12441'
* erland/OTP18/inets/time_api/OTP-12441: inets: Add new module inets_time_compat with new time API The new module is backwards compatible.
Diffstat (limited to 'lib/inets/src/http_client/httpc_handler.erl')
-rw-r--r--lib/inets/src/http_client/httpc_handler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl
index 7f7328f1d9..8f2f11ce8e 100644
--- a/lib/inets/src/http_client/httpc_handler.erl
+++ b/lib/inets/src/http_client/httpc_handler.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2002-2014. All Rights Reserved.
+%% Copyright Ericsson AB 2002-2015. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -1122,7 +1122,7 @@ handle_http_body(Body, #state{headers = Headers,
handle_response(State#state{headers = NewHeaders,
body = NewBody});
_ ->
- {NewBody2, NewRequest} =
+ {NewBody2, _NewRequest} =
stream(NewBody, Request, Code),
handle_response(State#state{headers = NewHeaders,
body = NewBody2})