Repository: qpid-dispatch Updated Branches: refs/heads/master 5f3d7aa53 -> 9b51e699a
DISPATCH-179 - Increment counter j in qdr_agent_set_columns so that the query->columns is set correctly Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/9b51e699 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/9b51e699 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/9b51e699 Branch: refs/heads/master Commit: 9b51e699a280ce700c812e2e4177dde191499a4c Parents: 5f3d7aa Author: Ganesh Murthy <[email protected]> Authored: Mon Mar 28 11:09:56 2016 -0400 Committer: Ganesh Murthy <[email protected]> Committed: Mon Mar 28 11:09:56 2016 -0400 ---------------------------------------------------------------------- src/router_core/agent.c | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/9b51e699/src/router_core/agent.c ---------------------------------------------------------------------- diff --git a/src/router_core/agent.c b/src/router_core/agent.c index 485d738..61237ce 100644 --- a/src/router_core/agent.c +++ b/src/router_core/agent.c @@ -289,9 +289,11 @@ static void qdr_agent_set_columns(qdr_query_t *query, query->columns[idx] = j; break; } + j+=1; } } } + query->columns[idx+1] = -1; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
