summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a39876d)
raw | patch | inline | side by side (parent: a39876d)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 Aug 2016 13:23:27 +0000 (15:23 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 Aug 2016 13:23:27 +0000 (15:23 +0200) |
This incidentally worked, but it is not a good idea.
src/openldap.c | patch | blob | history |
diff --git a/src/openldap.c b/src/openldap.c
index 1353536157bb30bfdc3e5d6f96106a3112a98a5e..a1fa509345b6657a6b7d6a3c46061fb915722c76 100644 (file)
--- a/src/openldap.c
+++ b/src/openldap.c
ssnprintf (callback_name, sizeof (callback_name),
"openldap/%s/%s",
(st->host != NULL) ? st->host : hostname_g,
- (st->name != NULL) ? st->name : "default"),
+ (st->name != NULL) ? st->name : "default");
status = plugin_register_complex_read (/* group = */ NULL,
/* name = */ callback_name,