From 145b9af4bdbb85e2f83959ee8abaa4d9207a4529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 27 Jul 2019 16:53:26 +0200 Subject: Fix ssl and other types --- src/gun_tcp.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gun_tcp.erl') 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), -- cgit v1.2.3