diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-27 10:30:19 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-27 10:30:19 -0400 |
commit | 811d5f0d30b75eca08cc10358d7301d0ea5537ec (patch) | |
tree | 14c180c69a543bc5b52f64d54a52d5a6b26e4eca /git.c | |
parent | e3468285721774373c0640019c15fdb82df65e31 (diff) |
Fixed some typos in `create_info_file()`.
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -166,7 +166,7 @@ int create_info_file(pull_request *pr, const char *pr_dir) { } /* Open the info file. */ - fp = fopen(pr_dir, "w"); + fp = fopen(info, "w"); /* Did we fail to open the file? */ if (fp == NULL) { @@ -174,7 +174,7 @@ int create_info_file(pull_request *pr, const char *pr_dir) { return 0; } - fwrite(buf, sizeof(char), buf_len, fp); + fwrite(info_buf, sizeof(char), buf_len, fp); fclose(fp); return 1; |