From 553629ca70032aea2397f1588b060dc96df7d2fc Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 27 Jun 2021 11:07:21 -0400 Subject: Fixed a typo in `add_comment()`. --- git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.c b/git.c index 1303621..a767624 100644 --- a/git.c +++ b/git.c @@ -190,7 +190,7 @@ int add_comment(comment *comment, const char *pr_root) { struct tm tm; /* Is the comment NULL? */ - if (pr == NULL) { + if (comment == NULL) { log(LOG_ERR, "Comment is NULL."); return 0; } -- cgit v1.2.3-13-gbd6f