summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-27 11:07:21 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-27 11:07:21 -0400
commit553629ca70032aea2397f1588b060dc96df7d2fc (patch)
treea7764cb840c68628f567edc150afa1671456a963 /git.c
parent4115e25e4fe3cca13756a039dd2a96b07f8d7100 (diff)
Fixed a typo in `add_comment()`.
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
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;
}