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 1353536..a1fa509 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,