aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/man/nng_socket_id.3.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/man/nng_socket_id.3.adoc b/docs/man/nng_socket_id.3.adoc
index e9379a6b..163ab2ed 100644
--- a/docs/man/nng_socket_id.3.adoc
+++ b/docs/man/nng_socket_id.3.adoc
@@ -29,7 +29,7 @@ if it is valid.
Otherwise it returns `-1`.
NOTE: A socket is considered valid if it was ever opened with a protocol
-constructor, such as the `<<nng_req0_open.3#,nng_req0_open()>>` function.
+constructor, such as the `<<nng_req_open.3#,nng_req0_open()>>` function.
Sockets that are allocated on the stack or statically should be
initialized with the macro
`<<nng_socket.5#NNG_SOCKET_INITIALIZER,NNG_SOCKET_INITIALIZER>>` to ensure that