aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_tcp_transport.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_tcp_transport.erl')
-rw-r--r--src/cowboy_tcp_transport.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_tcp_transport.erl b/src/cowboy_tcp_transport.erl
index dec7940..8dcc9d7 100644
--- a/src/cowboy_tcp_transport.erl
+++ b/src/cowboy_tcp_transport.erl
@@ -55,6 +55,6 @@ controlling_process(Socket, Pid) ->
peername(Socket) ->
inet:peername(Socket).
--spec close(Socket::socket()) -> ok | {error, Reason::posix}.
+-spec close(Socket::socket()) -> ok.
close(Socket) ->
gen_tcp:close(Socket).