new: add pool path option
This commit is contained in:
@ -110,6 +110,11 @@ int config_load_handler(void *data, const char *_section, const char *_key, cons
|
||||
config.pools->host = strdup(value);
|
||||
}
|
||||
|
||||
else if (eq(key, "path")) {
|
||||
free(config.pools->path);
|
||||
config.pools->path = strdup(value);
|
||||
}
|
||||
|
||||
else if (eq(key, "dir")) {
|
||||
free(config.pools->dir);
|
||||
config.pools->dir = strdup(value);
|
||||
|
Reference in New Issue
Block a user