aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/post-receive.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-25 00:43:42 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-25 00:43:42 +0100
commit6636bd99d6767a99546b1b82ce69ade6df867b42 (patch)
tree9855c1668ffe7ba367ed0f976bc50b4cc048e8a6 /src/blogc-git-receiver/post-receive.c
parentccb429435e162915917f2492217c4e206b9b2a96 (diff)
downloadblogc-6636bd99d6767a99546b1b82ce69ade6df867b42.tar.gz
blogc-6636bd99d6767a99546b1b82ce69ade6df867b42.tar.bz2
blogc-6636bd99d6767a99546b1b82ce69ade6df867b42.zip
config-parser: added support to parse section as list of lines
Diffstat (limited to 'src/blogc-git-receiver/post-receive.c')
-rw-r--r--src/blogc-git-receiver/post-receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-git-receiver/post-receive.c b/src/blogc-git-receiver/post-receive.c
index e722d60..415cb0c 100644
--- a/src/blogc-git-receiver/post-receive.c
+++ b/src/blogc-git-receiver/post-receive.c
@@ -102,7 +102,7 @@ bgr_post_receive_hook(int argc, char *argv[])
goto cleanup;
}
- bc_config_t *config = bc_config_parse(config_content, len, &err);
+ bc_config_t *config = bc_config_parse(config_content, len, NULL, &err);
free(config_content);
if (err != NULL) {
fprintf(stderr, "warning: failed to parse configuration file (%s), "