diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-25 00:43:42 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-25 00:43:42 +0100 |
commit | 6636bd99d6767a99546b1b82ce69ade6df867b42 (patch) | |
tree | 9855c1668ffe7ba367ed0f976bc50b4cc048e8a6 /src/blogc-git-receiver | |
parent | ccb429435e162915917f2492217c4e206b9b2a96 (diff) | |
download | blogc-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')
-rw-r--r-- | src/blogc-git-receiver/post-receive.c | 2 |
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), " |