You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2016/09/16 13:48:57 UTC

qpid-dispatch git commit: DISPATCH-499 - Copy error.info field when propagating a detach. [Patch from Gordon Sim]

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 521e0cafe -> 58d8aab97


DISPATCH-499 - Copy error.info field when propagating a detach. [Patch from Gordon Sim]


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/58d8aab9
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/58d8aab9
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/58d8aab9

Branch: refs/heads/master
Commit: 58d8aab971a2cd8b011b34420c01a9e6f73338b2
Parents: 521e0ca
Author: Ted Ross <tr...@redhat.com>
Authored: Fri Sep 16 09:47:46 2016 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Fri Sep 16 09:47:46 2016 -0400

----------------------------------------------------------------------
 src/router_core/error.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/58d8aab9/src/router_core/error.c
----------------------------------------------------------------------
diff --git a/src/router_core/error.c b/src/router_core/error.c
index 46a8c97..f1347dc 100644
--- a/src/router_core/error.c
+++ b/src/router_core/error.c
@@ -46,6 +46,7 @@ qdr_error_t *qdr_error_from_pn(pn_condition_t *pn)
         error->description = qdr_field(desc);
 
     error->info = pn_data(0);
+    pn_data_copy(error->info, pn_condition_info(pn));
 
     return error;
 }


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