aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-10-30 08:13:49 +0100
committerGitHub <[email protected]>2018-10-30 08:13:49 +0100
commit386a3ed5f5af4b14d0a2a4c8a5ed3e31acb4e736 (patch)
tree5b91594aef1d9d57c8b09583d08c264ac2c11686
parenta78ae21eebf2b69c2ada3ea7f97fe2419391a5e6 (diff)
parentfd22d95373d145c054c9ba9085e67cd6277bd826 (diff)
downloadotp-386a3ed5f5af4b14d0a2a4c8a5ed3e31acb4e736.tar.gz
otp-386a3ed5f5af4b14d0a2a4c8a5ed3e31acb4e736.tar.bz2
otp-386a3ed5f5af4b14d0a2a4c8a5ed3e31acb4e736.zip
Merge pull request #1999 from elbrujohalcon/patch-4
Fix docs on gen_event optional callback
-rw-r--r--lib/stdlib/doc/src/gen_event.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/gen_event.xml b/lib/stdlib/doc/src/gen_event.xml
index f793ec7fdf..fc34e51216 100644
--- a/lib/stdlib/doc/src/gen_event.xml
+++ b/lib/stdlib/doc/src/gen_event.xml
@@ -775,7 +775,7 @@ gen_event:stop -----> Module:terminate/2
<p>This callback is optional, so callback modules need not
export it. The <c>gen_event</c> module provides a default
implementation of this function that logs about the unexpected
- <c>Info</c> message, drops it and returns <c>{noreply, State}</c>.</p>
+ <c>Info</c> message, drops it and returns <c>{ok, State}</c>.</p>
</note>
<p>This function is called for each installed event handler when
an event manager receives any other message than an event or