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/03/19 00:06:58 UTC

[40/50] [abbrv] qpid-dispatch git commit: DISPATCH-179 - Pass in a char phase (not int phase) to the qd_address_iterator_set_phase() while creating new addresses

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/master
Commit: 7ec750b259789495b2e8974501b265b4b41605f7
Parents: 6dfb3dc
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Thu Mar 17 17:05:42 2016 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org