summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-26 14:59:18 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-26 14:59:18 -0400
commitc7463a63c4ee96d44542cae85e5f8ced798a667f (patch)
treecfd0e538df4366276c34626e2e8ce63deb6fcf62 /git.c
parente0724b5286f8bb7a264cea3f923ee88f0a406a6e (diff)
Added the file write, and close in `create_info()`.
Diffstat (limited to 'git.c')
-rw-r--r--git.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/git.c b/git.c
index c169baa..79cdddf 100644
--- a/git.c
+++ b/git.c
@@ -174,6 +174,9 @@ int create_info(pull_request *pr, const char *pr_dir) {
return 0;
}
+ fwrite(buf, sizeof(char), buf_len, fp);
+ fclose(fp);
+
return 1;
}