diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 10:01:03 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 10:01:03 -0400 |
commit | 3d955d30dfff2c76c85af3318c8fa4f35ff7dff0 (patch) | |
tree | d1350a62b9c996edaead979b437428f0122f6561 /git.c | |
parent | 86b78519e7aa5b4a5c3d396de1181fd472099b87 (diff) |
Fixed typo in `create_info_file()`.
> mfw copy paste error
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -182,11 +182,10 @@ int create_info_file(pull_request *pr, const char *pr_root) { int get_comment_len(comment *comment) { struct tm tm; - int len = format_len("title: %s\n", comment->title); + int len = format_len("id: %i\n", comment->id); localtime_r(&comment->date, &tm); - len = format_len("id: %i\n", comment->id); len += format_len("author: %s\n", comment->author); len += format_len("date: ") + strftime(NULL, -1, "%a %b %e %H:%M:%S %Y %z\n", &tm); |