Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 9229e6f25 -> ab997ca40


DISPATCH-200 - Additional fix to initialize the user_id to 0 on connector and 
listener


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

Branch: refs/heads/master
Commit: ab997ca405cbb5f5ef4af8e0698acea304a9fdf1
Parents: 9229e6f
Author: Ganesh Murthy <gmur...@redhat.com>
Authored: Wed Mar 30 15:17:18 2016 -0400
Committer: Ganesh Murthy <gmur...@redhat.com>
Committed: Wed Mar 30 15:17:18 2016 -0400

----------------------------------------------------------------------
 src/server.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/ab997ca4/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index 5248540..e9a6e01 100644
--- a/src/server.c
+++ b/src/server.c
@@ -494,6 +494,7 @@ static void thread_process_listeners_LH(qd_server_t 
*qd_server)
         ctx->user_context  = 0;
         ctx->link_context  = 0;
         ctx->ufd           = 0;
+        ctx->user_id       = 0;
         ctx->connection_id = qd_server->next_connection_id++; // Increment the 
connection id so the next connection can use it
         ctx->policy_settings = 0;
         ctx->n_senders       = 0;
@@ -1053,6 +1054,7 @@ static void cxtr_try_open(void *context)
     ctx->user_context = 0;
     ctx->link_context = 0;
     ctx->ufd          = 0;
+    ctx->user_id      = 0;
     ctx->policy_settings = 0;
     ctx->n_senders       = 0;
     ctx->n_receivers     = 0;


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

Reply via email to