aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-10-22 00:43:06 -0700
committerGarrett D'Amore <garrett@damore.org>2024-10-22 00:43:06 -0700
commit15d424be5ab7c446c33db184724d8a6a14938587 (patch)
treef35f7afab536195cdabf5d76b736199653b0ef61
parentdaaeabb11b5854593ac8124d31a8c130b2102040 (diff)
downloadnng-15d424be5ab7c446c33db184724d8a6a14938587.tar.gz
nng-15d424be5ab7c446c33db184724d8a6a14938587.tar.bz2
nng-15d424be5ab7c446c33db184724d8a6a14938587.zip
docs: fix markup snafu in msgm.md
-rw-r--r--docs/ref/api/msg.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/api/msg.md b/docs/ref/api/msg.md
index 569d4692..1a29aeb2 100644
--- a/docs/ref/api/msg.md
+++ b/docs/ref/api/msg.md
@@ -3,8 +3,8 @@
Messages {{hi:messages}} in Scalability Protocols are the fundamental unit of
transmission and reception, as these protocols are fundamentally message-oriented.
-Messages have a [body][nng_msg_body]{{hi:message body}}, containing the application-supplied
-payload, and a [header][nng_msg_header]{{hi:message header}}, containing protocol specific routing and similar
+Messages have a [body][nng_msg_body]{{hi:body}}, containing the application-supplied
+payload, and a [header][nng_msg_header]{{hi:header}}, containing protocol specific routing and similar
related information.
> [!TIP]
@@ -100,7 +100,7 @@ void *nng_msg_body(nng_msg *msg);
size_t nng_msg_len(nng_msg *msg);
```
-The body and body length of _msg_ are returned by {{i:`nng_msg_body}}` and
+The body and body length of _msg_ are returned by {{i:`nng_msg_body`}} and
{{i:`nng_msg_len`}}, respectively.
### Clear the Body
@@ -182,7 +182,7 @@ void *nng_msg_header(nng_msg *msg);
size_t nng_msg_header_len(nng_msg *msg);
```
-The header and header length of _msg_ are returned by {{i:`nng_msg_header}}` and
+The header and header length of _msg_ are returned by {{i:`nng_msg_header`}} and
{{i:`nng_msg_header_len`}}, respectively.
The message headers are generally intended for limited use, to store protocol headers.