Permalink
Browse files

Fix typo

  • Loading branch information...
1 parent 8712cb4 commit 5de0824c9d5b858c80533ca8c749a2a644603297 @mmzeeman mmzeeman committed with Nov 9, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/elli_tcp.erl
View
@@ -6,7 +6,7 @@
-export_type([socket/0]).
--type socket() :: {tcp, inet:socket()} | {ssl, ssl:sslsocket()}.
+-type socket() :: {plain, inet:socket()} | {ssl, ssl:sslsocket()}.
listen(plain, Port, Opts) ->
case gen_tcp:listen(Port, Opts) of
@@ -25,7 +25,6 @@ listen(ssl, Port, Opts) ->
end.
-
accept({plain, Socket}, Timeout) ->
case gen_tcp:accept(Socket, Timeout) of
{ok, S} ->

0 comments on commit 5de0824

Please sign in to comment.