diff options
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -327,7 +327,7 @@ int create_pull_request_dir(pull_request *pr, int id, const char *root) { FILE *fp; /*char *filename = dir_path_name(root, sanitize_str(create_num_str(commits[i]->name, i)));*/ char *filename = create_num_str(commits[i]->name, i); - char *file = sanitized_dir_path_name(root, filename); + char *file = sanitized_dir_path_name(pr_dir, filename); /* Does this patch file exists? */ if (access(file, F_OK) == 0) { |