diff options
author | Hans Bolinder <[email protected]> | 2011-08-26 15:29:29 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-08-26 15:29:29 +0200 |
commit | efc604ee01ce88ae2c18a640ef0adf90700848a4 (patch) | |
tree | 9604eb2f5c0491fbe797cd4750fa254893691e7c /lib/kernel/src/inet_res.erl | |
parent | d2408a6285505641b42495bdd2284871fb9931dd (diff) | |
parent | 9a52e239698ae62cddbc0d780502c72458867b6f (diff) | |
download | otp-efc604ee01ce88ae2c18a640ef0adf90700848a4.tar.gz otp-efc604ee01ce88ae2c18a640ef0adf90700848a4.tar.bz2 otp-efc604ee01ce88ae2c18a640ef0adf90700848a4.zip |
Merge branch 'dev' into major
* dev:
Improve types and specifications of the inet modules
Diffstat (limited to 'lib/kernel/src/inet_res.erl')
-rw-r--r-- | lib/kernel/src/inet_res.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/inet_res.erl b/lib/kernel/src/inet_res.erl index d1f5644ff7..59ba408d7a 100644 --- a/lib/kernel/src/inet_res.erl +++ b/lib/kernel/src/inet_res.erl @@ -407,7 +407,7 @@ gethostbyname(Name) -> -spec gethostbyname(Name, Family) -> {ok, Hostent} | {error, Reason} when Name :: dns_name(), Hostent :: inet:hostent(), - Family :: inet:family_option(), + Family :: inet:address_family(), Reason :: inet:posix() | res_error(). gethostbyname(Name,Family) -> @@ -418,7 +418,7 @@ gethostbyname(Name,Family) -> Name :: dns_name(), Hostent :: inet:hostent(), Timeout :: timeout(), - Family :: inet:family_option(), + Family :: inet:address_family(), Reason :: inet:posix() | res_error(). gethostbyname(Name,Family,Timeout) -> |