diff options
author | Hans Bolinder <[email protected]> | 2017-06-21 15:11:00 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-06-22 08:50:03 +0200 |
commit | 927cbc203e9339f76f18601cd855cabc6b2c8ebb (patch) | |
tree | 63cd93bebbc3e4cb628563615c8c8856e8f20199 /lib/stdlib/src | |
parent | 112b7d7a1946f6b90b3497ef4c176c6d066571e2 (diff) | |
download | otp-927cbc203e9339f76f18601cd855cabc6b2c8ebb.tar.gz otp-927cbc203e9339f76f18601cd855cabc6b2c8ebb.tar.bz2 otp-927cbc203e9339f76f18601cd855cabc6b2c8ebb.zip |
stdlib: Fix bug in proc_lib
Add a few more tests to the proc_lib_SUITE.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/proc_lib.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/proc_lib.erl b/lib/stdlib/src/proc_lib.erl index a00221fa6a..d4d1bdccec 100644 --- a/lib/stdlib/src/proc_lib.erl +++ b/lib/stdlib/src/proc_lib.erl @@ -779,8 +779,8 @@ format_link_report([Link|Reps], Indent, Extra) -> LinkIndent = [" ",Indent], [Indent,"neighbour:\n",format_report(Rep, LinkIndent, Extra)| format_link_report(Reps, Indent, Extra)]; -format_link_report([], _, _) -> - []. +format_link_report(Rep, Indent, Extra) -> + format_report(Rep, Indent, Extra). format_report(Rep, Indent, Extra) when is_list(Rep) -> format_rep(Rep, Indent, Extra); |