diff options
author | Loïc Hoguin <[email protected]> | 2018-07-31 15:18:32 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-07-31 15:18:32 +0200 |
commit | 68747c039ca026a1c2a30dcb86e1df1958c12d7b (patch) | |
tree | 10becc4c79aafbed3121577e2044bc74b680df4e /src | |
parent | 8b4c6f4bf9880d59bbc012b6ba9d5e60c4f62b3a (diff) | |
download | ranch-68747c039ca026a1c2a30dcb86e1df1958c12d7b.tar.gz ranch-68747c039ca026a1c2a30dcb86e1df1958c12d7b.tar.bz2 ranch-68747c039ca026a1c2a30dcb86e1df1958c12d7b.zip |
Fix some whitespace
Diffstat (limited to 'src')
-rw-r--r-- | src/ranch_ssl.erl | 6 | ||||
-rw-r--r-- | src/ranch_tcp.erl | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ranch_ssl.erl b/src/ranch_ssl.erl index e1e6532..b232039 100644 --- a/src/ranch_ssl.erl +++ b/src/ranch_ssl.erl @@ -200,15 +200,15 @@ setopts(Socket, Opts) -> -spec getopts(ssl:sslsocket(), [atom()]) -> {ok, list()} | {error, atom()}. getopts(Socket, Opts) -> - ssl:getopts(Socket, Opts). + ssl:getopts(Socket, Opts). -spec getstat(ssl:sslsocket()) -> {ok, list()} | {error, atom()}. getstat(Socket) -> - ssl:getstat(Socket). + ssl:getstat(Socket). -spec getstat(ssl:sslsocket(), [atom()]) -> {ok, list()} | {error, atom()}. getstat(Socket, OptionNames) -> - ssl:getstat(Socket, OptionNames). + ssl:getstat(Socket, OptionNames). -spec controlling_process(ssl:sslsocket(), pid()) -> ok | {error, closed | not_owner | atom()}. diff --git a/src/ranch_tcp.erl b/src/ranch_tcp.erl index 58cbb37..d5517a5 100644 --- a/src/ranch_tcp.erl +++ b/src/ranch_tcp.erl @@ -185,15 +185,15 @@ setopts(Socket, Opts) -> -spec getopts(inet:socket(), [atom()]) -> {ok, list()} | {error, atom()}. getopts(Socket, Opts) -> - inet:getopts(Socket, Opts). + inet:getopts(Socket, Opts). -spec getstat(inet:socket()) -> {ok, list()} | {error, atom()}. getstat(Socket) -> - inet:getstat(Socket). + inet:getstat(Socket). -spec getstat(inet:socket(), [atom()]) -> {ok, list()} | {error, atom()}. getstat(Socket, OptionNames) -> - inet:getstat(Socket, OptionNames). + inet:getstat(Socket, OptionNames). -spec controlling_process(inet:socket(), pid()) -> ok | {error, closed | not_owner | atom()}. |