Oscar Hellström avatar Oscar Hellström committed 9a2d80c

Fix typo.

Comments (0)

Files changed (1)

 init([Type, Mod, Args, Port, Options]) ->
 	Acceptors = proplists:get_value(acceptors, Options, 1),
 	Timeout = proplists:get_value(ssl_accept_timeout, Options, infinity),
-	SocketOptions = proplists:get_value(scoket_options, Options, []),
+	SocketOptions = proplists:get_value(socket_options, Options, []),
 	case Mod:init(Args) of
 		{ok, CState} ->
 			case listen(module(Type), Port, SocketOptions) of
 sock_port({Mod, Socket}) ->
 	element(2, Mod:port(Socket)).
 
-check_options([{scoket_options, List} | T]) when is_list(List) ->
+check_options([{socket_options, List} | T]) when is_list(List) ->
 	check_options(T);
 check_options([{acceptors, N} | T]) when is_integer(N), N > 0 ->
 	check_options(T);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.