You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2018/10/12 09:03:48 UTC

[31/34] celix git commit: CELIX-454: Fixes some issues in the pubsub zmq admin

 CELIX-454: Fixes some issues in the pubsub zmq admin


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/2eb029dd
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/2eb029dd
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/2eb029dd

Branch: refs/heads/develop
Commit: 2eb029dd24142031f69aa586758bfff188c2b9f9
Parents: f94fb54
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Thu Oct 11 19:51:45 2018 +0200
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Thu Oct 11 19:51:45 2018 +0200

----------------------------------------------------------------------
 bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_admin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/2eb029dd/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_admin.c
----------------------------------------------------------------------
diff --git a/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_admin.c b/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_admin.c
index 28eca77..16e1f98 100644
--- a/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_admin.c
+++ b/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_admin.c
@@ -515,8 +515,8 @@ static celix_status_t pubsub_zmqAdmin_connectEndpointToReceiver(pubsub_zmq_admin
     const char *url = celix_properties_get(endpoint, PUBSUB_ZMQ_URL_KEY, NULL);
 
     if (url == NULL) {
-        const char *admin = celix_properties_get(endpoint, PUBSUB_ENDPOINT_ADMIN_TYPE);
-        const char *type = celix_properties_get(endpoint, PUBSUB_ENDPOINT_TYPE);
+        const char *admin = celix_properties_get(endpoint, PUBSUB_ENDPOINT_ADMIN_TYPE, NULL);
+        const char *type = celix_properties_get(endpoint, PUBSUB_ENDPOINT_TYPE, NULL);
         L_WARN("[PSA ZMQ] Error got endpoint without a zmq url (admin: %s, type: %s)", admin , type);
         status = CELIX_BUNDLE_EXCEPTION;
     } else {