Skip to content

Commit

Permalink
Plugins: dirlisting: fix usage of config API
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <eduardo@monkey.io>
  • Loading branch information
edsiper committed Dec 10, 2015
1 parent 25bf806 commit c36e6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dirlisting/dirlisting.c
Expand Up @@ -175,7 +175,7 @@ int mk_dirhtml_read_config(char *path)
struct file_info finfo;

mk_api->str_build(&default_file, &len, "%sdirhtml.conf", path);
conf = mk_api->config_create(default_file);
conf = mk_api->config_open(default_file);
if (!conf) {
return -1;
}
Expand Down

0 comments on commit c36e6e2

Please sign in to comment.