lower-case extension names before loading the plugin
This commit is contained in:
parent
81ee8f01d8
commit
bcaccec009
@ -202,6 +202,11 @@ configure_extension (
|
|||||||
GNUNET_asprintf (&lib_name,
|
GNUNET_asprintf (&lib_name,
|
||||||
"libtaler_extension_%s",
|
"libtaler_extension_%s",
|
||||||
name);
|
name);
|
||||||
|
/* Lower-case extension name, config is case-insensitive */
|
||||||
|
for (unsigned int i = 0; i < strlen (lib_name); i++)
|
||||||
|
{
|
||||||
|
lib_name[i] = tolower (lib_name[i]);
|
||||||
|
}
|
||||||
extension = GNUNET_PLUGIN_load (
|
extension = GNUNET_PLUGIN_load (
|
||||||
lib_name,
|
lib_name,
|
||||||
(void *) col->cfg);
|
(void *) col->cfg);
|
||||||
|
Loading…
Reference in New Issue
Block a user