Code

openldap plugin: replace comma with semicolon
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 13 Aug 2016 13:23:27 +0000 (15:23 +0200)
committerRuben 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

index 1353536157bb30bfdc3e5d6f96106a3112a98a5e..a1fa509345b6657a6b7d6a3c46061fb915722c76 100644 (file)
@@ -664,7 +664,7 @@ static int cldap_config_add (oconfig_item_t *ci) /* {{{ */
                        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,