diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-27 11:07:21 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-27 11:07:21 -0400 |
commit | 553629ca70032aea2397f1588b060dc96df7d2fc (patch) | |
tree | a7764cb840c68628f567edc150afa1671456a963 /git.c | |
parent | 4115e25e4fe3cca13756a039dd2a96b07f8d7100 (diff) |
Fixed a typo in `add_comment()`.
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |