diff options
author | Erland Schönbeck <[email protected]> | 2015-03-24 13:52:07 +0100 |
---|---|---|
committer | Erland Schönbeck <[email protected]> | 2015-03-24 13:52:07 +0100 |
commit | e10385909c687590d6522d007bba9d72f3f5c380 (patch) | |
tree | 51227978bac92c6eb5f94c4bc20c2b9b7d1c396e /lib/inets/src/http_client/httpc_handler.erl | |
parent | 487446e76102b27fa8df02a353c7fdeec2d091f1 (diff) | |
download | otp-e10385909c687590d6522d007bba9d72f3f5c380.tar.gz otp-e10385909c687590d6522d007bba9d72f3f5c380.tar.bz2 otp-e10385909c687590d6522d007bba9d72f3f5c380.zip |
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.erl | 4 |
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}) |