summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
Diffstat (limited to 'git.c')
-rw-r--r--git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/git.c b/git.c
index 34ff394..e3abcae 100644
--- a/git.c
+++ b/git.c
@@ -354,7 +354,7 @@ static int parse_comments_file(comment ***comments, char *buf) {
return 9;
} else {
linked_list *comment_list = NULL;
- int ret = parse_colon_key_value_file(calloc(1, sizeof(comment)), &comment_list, comment_keywords, buf, is_end_of_comment);
+ int ret = parse_key_value_file(calloc(1, sizeof(comment)), &comment_list, comment_keywords, buf, ":", is_end_of_comment);
*comments = (comment **)linked_list_to_array(comment_list);
cleanup_linked_list(comment_list);
return ret;
@@ -363,7 +363,7 @@ static int parse_comments_file(comment ***comments, char *buf) {
static int parse_info_file(pull_request *pr, char *buf, const char *root) {
- return parse_colon_key_value_file(pr, (void *)root, info_keywords, buf, NULL);
+ return parse_key_value_file(pr, (void *)root, info_keywords, buf, ":", NULL);
}
static int parse_comments_file_path(comment ***comments, const char *root) {