summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 3cb7656..02889ae 100644
--- a/git.c
+++ b/git.c
@@ -182,7 +182,7 @@ 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", pr->title);
+ int len = format_len("title: %s\n", comment->title);
localtime_r(&comment->date, &tm);