You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2019/03/23 00:39:00 UTC

[qpid-dispatch] branch master updated: DISPATCH-1292 - Coverity fixes

This is an automated email from the ASF dual-hosted git repository.

gmurthy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new c3079b3  DISPATCH-1292 - Coverity fixes
c3079b3 is described below

commit c3079b3c2fec654ecfc667abc3c29cc787307c96
Author: Ganesh Murthy <gm...@redhat.com>
AuthorDate: Fri Mar 22 20:31:56 2019 -0400

    DISPATCH-1292 - Coverity fixes
---
 src/connection_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/connection_manager.c b/src/connection_manager.c
index d31561b..bea3a4b 100644
--- a/src/connection_manager.c
+++ b/src/connection_manager.c
@@ -775,9 +775,9 @@ qd_connector_t *qd_dispatch_configure_connector(qd_dispatch_t *qd, qd_entity_t *
     qd_connector_t *ct = qd_server_connector(qd->server);
 
     qd_error_clear();
-    ct->policy_vhost = qd_entity_opt_string(entity, "policyVhost", 0); CHECK();
 
     if (ct && load_server_config(qd, &ct->config, entity, false) == QD_ERROR_NONE) {
+        ct->policy_vhost = qd_entity_opt_string(entity, "policyVhost", 0); CHECK();
         DEQ_ITEM_INIT(ct);
         DEQ_INSERT_TAIL(cm->connectors, ct);
         log_config(cm->log_source, &ct->config, "Connector");


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