diff options
| author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-01 11:19:54 -0300 |
|---|---|---|
| committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-01 11:19:54 -0300 |
| commit | 01574f68af36c6d96a3176170e37cf82e14780b8 (patch) | |
| tree | 937a40802cbfeed3f23172c57090f9c214c1dc1d | |
| parent | d5d1da19bb6b325ea57aaac41bfbc0ddf10f9d66 (diff) | |
git: Replace all uses of `parse_colon_key_value_file()` with
`parse_key_value_file()`
| -rw-r--r-- | git.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |
