diff options
Diffstat (limited to 'src/conf-parser.c')
-rw-r--r-- | src/conf-parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf-parser.c b/src/conf-parser.c index a99c70596b..3bb430e375 100644 --- a/src/conf-parser.c +++ b/src/conf-parser.c @@ -88,7 +88,8 @@ int config_item_perf_lookup( else { char *key; - if (asprintf(&key, "%s.%s", section, lvalue) < 0) + key = join(section, ".", lvalue, NULL); + if (!key) return -ENOMEM; p = lookup(key, strlen(key)); |