aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/api/msg.md
diff options
context:
space:
mode:
authormochalins <117967760+mochalins@users.noreply.github.com>2025-05-23 17:02:52 +0900
committerGarrett D'Amore <garrett@damore.org>2025-06-02 07:24:06 -0700
commit4e1ffdca6d97c1bddc460835c94b16bc64284861 (patch)
tree80c27b0e509c8d7001619af27a33794f4bcad3c4 /docs/ref/api/msg.md
parent1323aece0712522ccb2bf432b5085889a3513fa8 (diff)
downloadnng-4e1ffdca6d97c1bddc460835c94b16bc64284861.tar.gz
nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.tar.bz2
nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.zip
Fix typos across docs, comments, and CMake
Diffstat (limited to 'docs/ref/api/msg.md')
-rw-r--r--docs/ref/api/msg.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/api/msg.md b/docs/ref/api/msg.md
index 1cea98e6..5aa7ef8f 100644
--- a/docs/ref/api/msg.md
+++ b/docs/ref/api/msg.md
@@ -48,7 +48,7 @@ int nng_msg_dup(nng_msg **dup, nng_msg *msg);
```
The {{i:`nng_msg_dup`}} function duplicates the message _msg_, storing a pointer
-to the new duplicate in _dup_. This function also returns zero on succes, or [`NNG_ENOMEM`]
+to the new duplicate in _dup_. This function also returns zero on success, or [`NNG_ENOMEM`]
if memory is exhausted.
## Message Size and Capacity