From ca06eb2cd1cf601ae93be73316a3e6ae98f86be3 Mon Sep 17 00:00:00 2001 From: niamtokik Date: Sat, 8 Mar 2025 10:29:38 +0000 Subject: [PATCH] Fix a typo in documentation ranch:procs/2 examples were not correctly called (missing first argument reference). --- doc/src/manual/ranch.procs.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/manual/ranch.procs.asciidoc b/doc/src/manual/ranch.procs.asciidoc index 0f29533894..61973f9162 100644 --- a/doc/src/manual/ranch.procs.asciidoc +++ b/doc/src/manual/ranch.procs.asciidoc @@ -34,13 +34,13 @@ A list of pids is returned. .Get the pids of the acceptor processes [source,erlang] ---- -Pids = ranch:procs(acceptors). +Pids = ranch:procs(example_listener, acceptors). ---- .Get the pids of the connection processes [source,erlang] ---- -Pids = ranch:procs(connections). +Pids = ranch:procs(example_listener, connections). ---- == See also