aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ranch_ssl.erl6
-rw-r--r--src/ranch_tcp.erl6
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()}.