aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_client
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2014-03-19 12:23:26 +0100
committerHenrik Nord <[email protected]>2014-03-19 12:23:30 +0100
commitc2c04e2600ec46434f99e34791dc551ead8d72c2 (patch)
tree8d8180963d1a68761fc6b28e913a6abfefaabb5b /lib/inets/src/http_client
parent0a2979c9f517e8e1141c51996fcd6f06979a32c6 (diff)
parentb3a4edeb7de93483b465130374ffdc8fa6e8d9f2 (diff)
downloadotp-c2c04e2600ec46434f99e34791dc551ead8d72c2.tar.gz
otp-c2c04e2600ec46434f99e34791dc551ead8d72c2.tar.bz2
otp-c2c04e2600ec46434f99e34791dc551ead8d72c2.zip
Merge branch 'scrapinghub/update_session_error_logging_fix'
* scrapinghub/update_session_error_logging_fix: inets: Fix incorrect argument order OTP-11794
Diffstat (limited to 'lib/inets/src/http_client')
-rw-r--r--lib/inets/src/http_client/httpc_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl
index a89a457a51..5598185ad3 100644
--- a/lib/inets/src/http_client/httpc_handler.erl
+++ b/lib/inets/src/http_client/httpc_handler.erl
@@ -1829,7 +1829,7 @@ update_session(ProfileName, #session{id = SessionId} = Session, Pos, Value) ->
[ProfileName, SessionId, Pos, Value,
(catch httpc_manager:which_session_info(ProfileName)),
Session,
- (catch httpc_manager:lookup_session(ProfileName, SessionId)),
+ (catch httpc_manager:lookup_session(SessionId, ProfileName)),
T, E]),
exit({failed_updating_session,
[{profile, ProfileName},