diff options
author | Micael Karlberg <[email protected]> | 2011-11-23 16:26:44 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-11-23 16:26:44 +0100 |
commit | 6c82cc7c3ddb545603ea2bcb6bfaf5706e9b71f3 (patch) | |
tree | 32d0ab8ebd9a523394dd96356ccc4c8a6bb82e16 /lib/inets/src/http_client/httpc_manager.erl | |
parent | ed6b55aeb44bbbc32563f1fe7c066712b04e8fe9 (diff) | |
parent | 473c6308bbfed958ab04f45f53305e5d82d733fa (diff) | |
download | otp-6c82cc7c3ddb545603ea2bcb6bfaf5706e9b71f3.tar.gz otp-6c82cc7c3ddb545603ea2bcb6bfaf5706e9b71f3.tar.bz2 otp-6c82cc7c3ddb545603ea2bcb6bfaf5706e9b71f3.zip |
Merge branch 'bmk/inets/dialyzer_fixes/OTP-9736' into bmk/inets/inets58_integration2
Diffstat (limited to 'lib/inets/src/http_client/httpc_manager.erl')
-rw-r--r-- | lib/inets/src/http_client/httpc_manager.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc_manager.erl b/lib/inets/src/http_client/httpc_manager.erl index 121562195f..a97cbb83f1 100644 --- a/lib/inets/src/http_client/httpc_manager.erl +++ b/lib/inets/src/http_client/httpc_manager.erl @@ -271,9 +271,11 @@ reset_cookies(ProfileName) -> which_cookies(ProfileName) when is_atom(ProfileName) -> call(ProfileName, which_cookies). + which_cookies(Url, ProfileName) when is_list(Url) andalso is_atom(ProfileName) -> - call(ProfileName, {which_cookies, Url, []}). + which_cookies(Url, [], ProfileName). + which_cookies(Url, Options, ProfileName) when is_list(Url) andalso is_list(Options) andalso is_atom(ProfileName) -> call(ProfileName, {which_cookies, Url, Options}). |