aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-04-29 11:31:59 +0200
committerIngela Anderton Andin <[email protected]>2011-04-29 11:31:59 +0200
commit995daeae6917c1369ef4ea7a620c9488c4059456 (patch)
tree0a141d9b5ee1b63b22495c65978e71468aff302a /lib/ssl/src/ssl.erl
parent3e815447cafbcb704bac1fac3d195e94def7080f (diff)
downloadotp-995daeae6917c1369ef4ea7a620c9488c4059456.tar.gz
otp-995daeae6917c1369ef4ea7a620c9488c4059456.tar.bz2
otp-995daeae6917c1369ef4ea7a620c9488c4059456.zip
Changed iolist() to iodata()
ssl:send/2 takes iodata() as a second argument. erlang:iolist_to_binary should really be called erlang:iodata_to_binary which caused the mismatch in the first place.
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-rw-r--r--lib/ssl/src/ssl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 7b1fda4cf9..ae0f8477fc 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -264,7 +264,7 @@ close(Socket = #sslsocket{}) ->
ssl_broker:close(Socket).
%%--------------------------------------------------------------------
--spec send(#sslsocket{}, iolist()) -> ok | {error, reason()}.
+-spec send(#sslsocket{}, iodata()) -> ok | {error, reason()}.
%%
%% Description: Sends data over the ssl connection
%%--------------------------------------------------------------------