Repository: qpid-dispatch Updated Branches: refs/heads/tross-DISPATCH-179-1 6dfb3dc18 -> 7ec750b25
DISPATCH-179 - Pass in a char phase (not int phase) to the qd_address_iterator_set_phase() while creating new addresses Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/7ec750b2 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/7ec750b2 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/7ec750b2 Branch: refs/heads/tross-DISPATCH-179-1 Commit: 7ec750b259789495b2e8974501b265b4b41605f7 Parents: 6dfb3dc Author: Ganesh Murthy <[email protected]> Authored: Thu Mar 17 17:05:42 2016 -0400 Committer: Ganesh Murthy <[email protected]> Committed: Thu Mar 17 17:05:42 2016 -0400 ---------------------------------------------------------------------- src/router_core/connections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/7ec750b2/src/router_core/connections.c ---------------------------------------------------------------------- diff --git a/src/router_core/connections.c b/src/router_core/connections.c index d014bf3..f76311f 100644 --- a/src/router_core/connections.c +++ b/src/router_core/connections.c @@ -733,7 +733,7 @@ static qdr_address_t *qdr_lookup_terminus_address_CT(qdr_core_t *core, addr = qdr_address_CT(core, qdr_treatment_for_address_CT(core, iter, &in_phase, &out_phase)); addr_phase = dir == QD_INCOMING ? in_phase : out_phase; - qd_address_iterator_set_phase(iter, addr_phase); + qd_address_iterator_set_phase(iter, (char) addr_phase + '0'); qd_hash_insert(core->addr_hash, iter, addr, &addr->hash_handle); DEQ_INSERT_TAIL(core->addrs, addr); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
