summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-12-11 11:01:57 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-01-23 21:29:27 +0100
commit894f09f146f0c9cda9e0f7dfe1916519d73dde72 (patch)
tree4b43904c6cf451a166c9ffabe28c39697a182a7d /src/responder/ifp
parentd87e960c17d7598781cf032d06ba03a3ecadbfa2 (diff)
downloadsssd-894f09f146f0c9cda9e0f7dfe1916519d73dde72.tar.gz
sssd-894f09f146f0c9cda9e0f7dfe1916519d73dde72.tar.xz
sssd-894f09f146f0c9cda9e0f7dfe1916519d73dde72.zip
sbus: use 'path/*' to represent a D-Bus fallback
Use 'path/*' instead of 'path*' since it better describes what we are actually doing i.e. registering a message handler for a subtree. Although D-Bus fallback will invoke a message handler for both 'path' and 'path/subtree' object paths it does not make usually sence to support the same interfaces for both parent and it children. This commit also renames related functions to better describe what are they doing. Note: the tilda in comments is used to suppress -Wcomment warning Preparation for: https://fedorahosted.org/sssd/ticket/2339 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder/ifp')
-rw-r--r--src/responder/ifp/ifp_components.h2
-rw-r--r--src/responder/ifp/ifp_domains.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/ifp/ifp_components.h b/src/responder/ifp/ifp_components.h
index 49f1294cd..6c6300442 100644
--- a/src/responder/ifp/ifp_components.h
+++ b/src/responder/ifp/ifp_components.h
@@ -25,7 +25,7 @@
#include "responder/ifp/ifp_private.h"
#define INFOPIPE_COMPONENT_PATH_PFX "/org/freedesktop/sssd/infopipe/Components"
-#define INFOPIPE_COMPONENT_PATH INFOPIPE_COMPONENT_PATH_PFX "*"
+#define INFOPIPE_COMPONENT_PATH INFOPIPE_COMPONENT_PATH_PFX "/*"
#define INFOPIPE_BACKEND_PATH INFOPIPE_COMPONENT_PATH_PFX "/Backends*"
diff --git a/src/responder/ifp/ifp_domains.h b/src/responder/ifp/ifp_domains.h
index d6ef1a04d..d6ed6c73d 100644
--- a/src/responder/ifp/ifp_domains.h
+++ b/src/responder/ifp/ifp_domains.h
@@ -26,7 +26,7 @@
#include "responder/ifp/ifp_private.h"
#define INFOPIPE_DOMAIN_PATH_PFX "/org/freedesktop/sssd/infopipe/Domains"
-#define INFOPIPE_DOMAIN_PATH INFOPIPE_DOMAIN_PATH_PFX"*"
+#define INFOPIPE_DOMAIN_PATH INFOPIPE_DOMAIN_PATH_PFX"/*"
/* org.freedesktop.sssd.infopipe */