Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmzeeman authored and knutin committed Dec 13, 2013
1 parent 8712cb4 commit 5de0824
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/elli_tcp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,7 +25,6 @@ listen(ssl, Port, Opts) ->
end.



accept({plain, Socket}, Timeout) ->
case gen_tcp:accept(Socket, Timeout) of
{ok, S} ->
Expand Down

0 comments on commit 5de0824

Please sign in to comment.