Gitweb:
http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=82cd95a1c87...
Commit: 82cd95a1c87267e9f7db0a4f9865efb0344e26e1
Parent: 6ac07a7ec331e8f9c1b238e49144731cd48c0150
Author: John Ruemker <jruemker(a)redhat.com>
AuthorDate: Tue Jul 2 14:07:03 2013 -0400
Committer: John Ruemker <jruemker(a)redhat.com>
CommitterDate: Tue Jul 2 14:07:03 2013 -0400
Use valid ccs path to logging_daemon attributes
Previously create_daemon_path() would generate an invalid ccs
path string when looking up individual attributes.
---
config/libs/libccsconfdb/extras.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config/libs/libccsconfdb/extras.c b/config/libs/libccsconfdb/extras.c
index 12536ae..34cbbae 100644
--- a/config/libs/libccsconfdb/extras.c
+++ b/config/libs/libccsconfdb/extras.c
@@ -288,7 +288,7 @@ static void create_daemon_path(const char *name, const char *field,
char *path)
{
memset(path, 0, PATH_MAX);
snprintf(path, PATH_MAX,
- "/cluster/logging/logging_daemon[@name=\"%s\"]/%s",
+ "/cluster/logging/logging_daemon[@name=\"%s\"]/@%s",
name, field);
}