diff options
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r-- | src/blogc-git-receiver/pre-receive.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c index 76cf1bf..71e84e8 100644 --- a/src/blogc-git-receiver/pre-receive.c +++ b/src/blogc-git-receiver/pre-receive.c @@ -170,8 +170,9 @@ default_sym: bc_strv_free(pieces); } else { - char *input = bc_stdin_read(); - master = bgr_pre_receive_parse(input, strlen(input)); + size_t input_len; + char *input = bc_stdin_read(&input_len); + master = bgr_pre_receive_parse(input, input_len); free(input); } |