You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2020/12/20 08:49:13 UTC
[qpid-dispatch] branch dev-protocol-adaptors created (now bc88172)
This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a change to branch dev-protocol-adaptors
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git.
at bc88172 NO-JIRA: fix RelWithDebInfo build issue
This branch includes the following new commits:
new bc88172 NO-JIRA: fix RelWithDebInfo build issue
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org
[qpid-dispatch] 01/01: NO-JIRA: fix RelWithDebInfo build issue
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch dev-protocol-adaptors
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
commit bc88172b5e220d5eca32a4809dd258722ae2b465
Author: Kenneth Giusti <kg...@apache.org>
AuthorDate: Wed Oct 14 09:23:55 2020 -0400
NO-JIRA: fix RelWithDebInfo build issue
---
tests/message_test.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/message_test.c b/tests/message_test.c
index 135adc8..1e33143 100644
--- a/tests/message_test.c
+++ b/tests/message_test.c
@@ -791,10 +791,10 @@ static char *check_body_data(char *s_chunk_size, char *s_n_chunks, bool flatten)
// flatten if required
if (flatten) {
// check that the flatten buffer is big enough
- int vbin_size = chunk_size > 511 ? 8 : 5; // per-chunk vbin descriptor overhead
- int header_size = 100; // leave plenty of allocaton for header
- int msg_size = n_chunks * (chunk_size + vbin_size) + header_size;
- assert(msg_size < FLAT_BUF_SIZE);
+ assert(FLAT_BUF_SIZE > (n_chunks * (chunk_size
+ // per-chunk vbin descriptor overhead:
+ + (chunk_size > 511 ? 8 : 5))
+ + 100)); // leave plenty of allocaton for header
// compress message into flatten buffer
size_t flat_size = flatten_bufs(MSG_CONTENT(msg));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org