From 01574f68af36c6d96a3176170e37cf82e14780b8 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 1 Aug 2022 11:19:54 -0300 Subject: git: Replace all uses of `parse_colon_key_value_file()` with `parse_key_value_file()` --- git.c | 4 ++-- 1 file 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) { -- cgit v1.2.3-13-gbd6f