You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2019/11/08 20:34:07 UTC

[qpid-dispatch] branch master updated: DISPATCH-1467: repair for commit c3dccb8

This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new f3d5bc7  DISPATCH-1467: repair for commit c3dccb8
f3d5bc7 is described below

commit f3d5bc7438ba3736b9e8f7d0fff54408f3d483ae
Author: Chuck Rolke <ch...@apache.org>
AuthorDate: Fri Nov 8 15:30:34 2019 -0500

    DISPATCH-1467: repair for commit c3dccb8
    
    Simply use ZERO(msg) and get rid of all the individual field settings.
---
 src/message.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/message.c b/src/message.c
index ead6bf4..6e0d120 100644
--- a/src/message.c
+++ b/src/message.c
@@ -930,19 +930,6 @@ qd_message_t *qd_message()
 
     ZERO (msg);
 
-    msg->cursor.buffer = 0;
-    msg->cursor.cursor = 0;
-    msg->sent_depth    = QD_DEPTH_NONE;
-    DEQ_INIT(msg->ma_to_override);
-    DEQ_INIT(msg->ma_trace);
-    DEQ_INIT(msg->ma_ingress);
-    msg->ma_phase      = 0;
-    msg->send_complete = false;
-    msg->tag_sent      = false;
-    msg->is_fanout     = false;
-    msg->strip_annotations_in = false;
-
-
     msg->content = new_qd_message_content_t();
 
     if (msg->content == 0) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org