aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-08-21 14:58:15 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:46 +0200
commit8f97b428eb8f2fb89c3f9ec348f577304b1b9131 (patch)
tree1a3465f416b9ece6aec03f7076c87babd79ca135 /lib/ssl/src/ssl_connection.erl
parentbe66663142da66e013ad65c4ebe429d9391312b0 (diff)
downloadotp-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.erl2
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) ->