Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 57b2d6029 -> e3c74d000


DISPATCH-223 - Applied patch from Jakub Scholz


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

Branch: refs/heads/master
Commit: e3c74d000c1e3025f6bf04b37f263f0019cc7359
Parents: 57b2d60
Author: Ted Ross <[email protected]>
Authored: Tue Feb 23 09:08:26 2016 -0500
Committer: Ted Ross <[email protected]>
Committed: Tue Feb 23 09:08:26 2016 -0500

----------------------------------------------------------------------
 src/router_config.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e3c74d00/src/router_config.c
----------------------------------------------------------------------
diff --git a/src/router_config.c b/src/router_config.c
index fc3a8c0..9e76cf9 100644
--- a/src/router_config.c
+++ b/src/router_config.c
@@ -189,9 +189,10 @@ qd_error_t qd_router_configure_lrp(qd_router_t *router, 
qd_entity_t *entity)
 
         if (lrpc == 0) {
             sys_mutex_unlock(router->lock);
+            qd_error_t err =  qd_error(QD_ERROR_CONFIG, "Link-route-pattern 
configured with unknown connector: %s", connector);
             free(prefix);
             free(connector);
-            return qd_error(QD_ERROR_CONFIG, "Link-route-pattern configured 
with unknown connector: %s", connector);
+            return err;
         }
 
         qd_lrp_t *lrp = qd_lrp_LH(prefix, inbound, outbound, lrpc);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to