diff options
Diffstat (limited to 'docs/ref/api/msg.md')
| -rw-r--r-- | docs/ref/api/msg.md | 2 |
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 |
