Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
2233-kernel-sctp-test-Fixed-an-oopsie.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2233-kernel-sctp-test-Fixed-an-oopsie.patch of Package erlang
From eda833ec080e3ddc3e08bcebeaff605f0e8c6ad5 Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Thu, 17 Dec 2020 10:01:37 +0100 Subject: [PATCH 3/4] [kernel|sctp|test] Fixed an oopsie --- lib/kernel/test/gen_sctp_SUITE.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/kernel/test/gen_sctp_SUITE.erl b/lib/kernel/test/gen_sctp_SUITE.erl index c1e1bb86bc..c73dee334e 100644 --- a/lib/kernel/test/gen_sctp_SUITE.erl +++ b/lib/kernel/test/gen_sctp_SUITE.erl @@ -1692,10 +1692,10 @@ get_addrs_by_family_aux(Family, NumAddrs) when Family =:= inet; end end; get_addrs_by_family_aux(inet_and_inet6, NumAddrs) -> - try [case get_addrs_by_family_aux(Family, NumAddrs) of - {ok, Addrs} -> Addrs; - {error, Reason} -> throw({error, Reason}) - end || Family <- [inet, inet6]] + try {ok, [case get_addrs_by_family_aux(Family, NumAddrs) of + {ok, Addrs} -> Addrs; + {error, Reason} -> throw({error, Reason}) + end || Family <- [inet, inet6]]} catch throw:{error, _} = ERROR -> ERROR -- 2.26.2
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