diff options
author | Ingela Anderton Andin <[email protected]> | 2012-08-21 14:58:15 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-08-22 14:00:46 +0200 |
commit | 8f97b428eb8f2fb89c3f9ec348f577304b1b9131 (patch) | |
tree | 1a3465f416b9ece6aec03f7076c87babd79ca135 /lib/ssl/src/ssl_connection.erl | |
parent | be66663142da66e013ad65c4ebe429d9391312b0 (diff) | |
download | otp-8f97b428eb8f2fb89c3f9ec348f577304b1b9131.tar.gz otp-8f97b428eb8f2fb89c3f9ec348f577304b1b9131.tar.bz2 otp-8f97b428eb8f2fb89c3f9ec348f577304b1b9131.zip |
ssl: Fix inet header option to behave as in inet
This options is useless and should be deprecated. But we behave
as inet does for now!
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r-- | lib/ssl/src/ssl_connection.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl index fc2488952d..86555dd0d9 100644 --- a/lib/ssl/src/ssl_connection.erl +++ b/lib/ssl/src/ssl_connection.erl @@ -1883,7 +1883,7 @@ format_reply(list, _,_, Data) -> binary_to_list(Data). header(0, <<>>) -> - <<>>; + []; header(_, <<>>) -> []; header(0, Binary) -> |