diff options
author | Ingela Anderton Andin <[email protected]> | 2011-04-29 11:31:59 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-04-29 11:31:59 +0200 |
commit | 995daeae6917c1369ef4ea7a620c9488c4059456 (patch) | |
tree | 0a141d9b5ee1b63b22495c65978e71468aff302a /lib/ssl/doc/src/ssl.xml | |
parent | 3e815447cafbcb704bac1fac3d195e94def7080f (diff) | |
download | otp-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/doc/src/ssl.xml')
-rw-r--r-- | lib/ssl/doc/src/ssl.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml index 60ea4d547f..f3164cdb46 100644 --- a/lib/ssl/doc/src/ssl.xml +++ b/lib/ssl/doc/src/ssl.xml @@ -583,7 +583,7 @@ fun(OtpCert :: #'OTPCertificate'{}, Event :: {bad_cert, Reason :: atom()} | <fsummary>Write data to a socket.</fsummary> <type> <v>Socket = sslsocket()</v> - <v>Data = iolist() | binary()</v> + <v>Data = iodata()</v> </type> <desc> <p>Writes <c>Data</c> to <c>Socket</c>. </p> |