This is an automated email from the ASF dual-hosted git repository. tross pushed a commit to branch dev-protocol-adaptors in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
commit 492ae4bbeda155e02bf91a42fd41233a60c17f10 Author: Ted Ross <tr...@apache.org> AuthorDate: Fri Aug 7 17:33:56 2020 -0400 DISPATCH-1742 - Fixed compilation error --- src/adaptors/http_adaptor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/adaptors/http_adaptor.c b/src/adaptors/http_adaptor.c index 3c138ca..86708c8 100644 --- a/src/adaptors/http_adaptor.c +++ b/src/adaptors/http_adaptor.c @@ -419,7 +419,9 @@ static void write_buffers(qdr_http_connection_t *conn) qd_log(http_adaptor->log_source, QD_LOG_TRACE, "[C%i] Writing %i bytes in write_buffers", conn->conn_id, total_bytes); if (i >0) { size_t num_buffers_written = pn_raw_connection_write_buffers(session_data->conn->pn_raw_conn, raw_buffers, num_buffs); - assert(num_buffs == num_buffers_written); + if (num_buffs != num_buffers_written) { + assert(false); + } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org