From cdcf4934610a2673727b4efad93b82191c3379eb Mon Sep 17 00:00:00 2001 From: ryosga Date: Mon, 28 Jul 2025 11:41:59 +0800 Subject: Update msg.md Modify the unmatched brackets in the sample code --- docs/ref/api/msg.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/api/msg.md b/docs/ref/api/msg.md index 5aa7ef8f..10676a6e 100644 --- a/docs/ref/api/msg.md +++ b/docs/ref/api/msg.md @@ -278,7 +278,7 @@ strcpy(nng_msg_body(m), "content"); if (nng_msg_alloc(&m, 1024) != 0) { // handle error } -while ((val64 = next_datum()) != 0) P +while ((val64 = next_datum()) != 0) { if (nng_msg_append_u64(m, val64) != 0) { // handle error } -- cgit v1.2.3-70-g09d2