diff options
author | Loïc Hoguin <[email protected]> | 2019-07-27 16:53:26 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-27 16:54:15 +0200 |
commit | 145b9af4bdbb85e2f83959ee8abaa4d9207a4529 (patch) | |
tree | 5be8e222957b00eafac16f006e26bb90ac46bf81 /src/gun_tcp.erl | |
parent | 50ff97bf82cd146cb289e5b9fbd864bbcc9c30d9 (diff) | |
download | gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.tar.gz gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.tar.bz2 gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.zip |
Fix ssl and other types
Diffstat (limited to 'src/gun_tcp.erl')
-rw-r--r-- | src/gun_tcp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_tcp.erl b/src/gun_tcp.erl index 615e925..a4f9e96 100644 --- a/src/gun_tcp.erl +++ b/src/gun_tcp.erl @@ -41,7 +41,7 @@ messages() -> {tcp, tcp_closed, tcp_error}. %% and the actual connect step. -spec domain_lookup(inet:ip_address() | inet:hostname(), - inet:port_number(), [gen_tcp:connect_option()] | [ssl:connect_option()], timeout()) + inet:port_number(), [gen_tcp:connect_option()], timeout()) -> {ok, lookup_info()} | {error, atom()}. domain_lookup(Address, Port0, Opts0, Timeout) -> {Mod, Opts} = inet:tcp_module(Opts0, Address), |