aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch_tcp.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-12-01 10:13:34 +0100
committerLoïc Hoguin <[email protected]>2012-12-01 10:14:59 +0100
commit0d18f4f93054d9df6a0496a2b9fe8c09f336906e (patch)
treed2ac1a9c523157f1767a92f4c0e68a69cf87a05b /src/ranch_tcp.erl
parent21a1141eba147809b2b6fe2f6ca2e7e1d565b655 (diff)
downloadranch-0d18f4f93054d9df6a0496a2b9fe8c09f336906e.tar.gz
ranch-0d18f4f93054d9df6a0496a2b9fe8c09f336906e.tar.bz2
ranch-0d18f4f93054d9df6a0496a2b9fe8c09f336906e.zip
Fix typespecs for Transport:send/2
Diffstat (limited to 'src/ranch_tcp.erl')
-rw-r--r--src/ranch_tcp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_tcp.erl b/src/ranch_tcp.erl
index 3c918ea..d68972d 100644
--- a/src/ranch_tcp.erl
+++ b/src/ranch_tcp.erl
@@ -99,7 +99,7 @@ recv(Socket, Length, Timeout) ->
%% @doc Send data on a socket.
%% @see gen_tcp:send/2
--spec send(inet:socket(), iolist()) -> ok | {error, atom()}.
+-spec send(inet:socket(), iodata()) -> ok | {error, atom()}.
send(Socket, Packet) ->
gen_tcp:send(Socket, Packet).