add database string to base config

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

Branch: refs/heads/foo-pol-01
Commit: 5f89f0f93d14c4499c47eac467ae22c28804b6b6
Parents: 1b95b4f
Author: Chuck Rolke <[email protected]>
Authored: Mon Dec 21 15:34:13 2015 -0500
Committer: Chuck Rolke <[email protected]>
Committed: Mon Dec 21 15:34:13 2015 -0500

----------------------------------------------------------------------
 src/dispatch.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/5f89f0f9/src/dispatch.c
----------------------------------------------------------------------
diff --git a/src/dispatch.c b/src/dispatch.c
index 15b3b97..765918a 100644
--- a/src/dispatch.c
+++ b/src/dispatch.c
@@ -143,7 +143,10 @@ qd_error_t qd_dispatch_configure_lrp(qd_dispatch_t *qd, 
qd_entity_t *entity) {
 
 qd_error_t qd_dispatch_configure_policy(qd_dispatch_t *qd, qd_entity_t *entity)
 {
-    qd_entity_configure_policy(qd->policy, entity);
+    qd_error_t err;
+    err = qd_entity_configure_policy(qd->policy, entity);
+    if (err)
+        return err;
     return QD_ERROR_NONE;
 }
 


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

Reply via email to