aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/gen_tcp.erl
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-09-01 14:50:42 +0200
committerHenrik Nord <[email protected]>2011-09-01 14:50:48 +0200
commitad0f1f1f7e18e98d772b6f76b7310a013b695c97 (patch)
treebd1e3fb2a7a8ccf908deabc5ed82e8f512ec9ea1 /lib/kernel/src/gen_tcp.erl
parentdcc4df2464c9f8005c5d242505090cc88beb2eb5 (diff)
parentaf8938714416c0b1393a0830fdc6e8a5ab4be87c (diff)
downloadotp-ad0f1f1f7e18e98d772b6f76b7310a013b695c97.tar.gz
otp-ad0f1f1f7e18e98d772b6f76b7310a013b695c97.tar.bz2
otp-ad0f1f1f7e18e98d772b6f76b7310a013b695c97.zip
Merge branch 'fm/gen_tcp_udp_doc_packet_type' into dev
* fm/gen_tcp_udp_doc_packet_type: Fix type of Packet arg of gen_tcp:send/2 and gen_udp:send/4 OTP-9514
Diffstat (limited to 'lib/kernel/src/gen_tcp.erl')
-rw-r--r--lib/kernel/src/gen_tcp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/gen_tcp.erl b/lib/kernel/src/gen_tcp.erl
index df326b59d6..8ab18c01b4 100644
--- a/lib/kernel/src/gen_tcp.erl
+++ b/lib/kernel/src/gen_tcp.erl
@@ -250,7 +250,7 @@ close(S) ->
-spec send(Socket, Packet) -> ok | {error, Reason} when
Socket :: socket(),
- Packet :: string() | binary(),
+ Packet :: iodata(),
Reason :: inet:posix().
send(S, Packet) when is_port(S) ->