From 46c0fb89b06331b44a51cb7e56f0fb2fe3281a4b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 12 Aug 2017 11:20:41 -0700 Subject: Don't compile in message dumping by default. --- src/core/message.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/message.c b/src/core/message.c index 10c42a25..b44dfdf6 100644 --- a/src/core/message.c +++ b/src/core/message.c @@ -40,6 +40,7 @@ typedef struct { nni_list_node mo_node; } nni_msgopt; +#if 0 static void nni_chunk_dump(const nni_chunk *chunk, char *prefix) { @@ -87,6 +88,7 @@ nni_msg_dump(const char *banner, const nni_msg *msg) nni_chunk_dump(&msg->m_body, "BODY"); nni_println("--- END ---"); } +#endif // nni_chunk_grow increases the underlying space for a chunk. It ensures // that the desired amount of trailing space (including the length) -- cgit v1.2.3-70-g09d2