Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0984-inet-parse_xxx-more-precise-specs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0984-inet-parse_xxx-more-precise-specs.patch of Package erlang
From b7ed6b47453bc6872b5390e94ab49e1d2f28f126 Mon Sep 17 00:00:00 2001 From: Ilya Klyuchnikov <ilya.klyuchnikov@gmail.com> Date: Sat, 7 May 2022 18:31:08 +0100 Subject: [PATCH] inet:parse_xxx - more precise specs --- lib/kernel/src/inet.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/kernel/src/inet.erl b/lib/kernel/src/inet.erl index 6ccf251372..88e15869db 100644 --- a/lib/kernel/src/inet.erl +++ b/lib/kernel/src/inet.erl @@ -874,28 +874,28 @@ ntoa(Addr) -> -spec parse_ipv4_address(Address) -> {ok, IPv4Address} | {error, einval} when Address :: string(), - IPv4Address :: ip_address(). + IPv4Address :: ip4_address(). parse_ipv4_address(Addr) -> inet_parse:ipv4_address(Addr). -spec parse_ipv6_address(Address) -> {ok, IPv6Address} | {error, einval} when Address :: string(), - IPv6Address :: ip_address(). + IPv6Address :: ip6_address(). parse_ipv6_address(Addr) -> inet_parse:ipv6_address(Addr). -spec parse_ipv4strict_address(Address) -> {ok, IPv4Address} | {error, einval} when Address :: string(), - IPv4Address :: ip_address(). + IPv4Address :: ip4_address(). parse_ipv4strict_address(Addr) -> inet_parse:ipv4strict_address(Addr). -spec parse_ipv6strict_address(Address) -> {ok, IPv6Address} | {error, einval} when Address :: string(), - IPv6Address :: ip_address(). + IPv6Address :: ip6_address(). parse_ipv6strict_address(Addr) -> inet_parse:ipv6strict_address(Addr). -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor