diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-31 18:08:42 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-10 14:13:44 -0300 |
commit | 7f6ce8fafc493014c96e9a9123f6482aa2cf5a5c (patch) | |
tree | 283fd0611d50dc8a99df1d7ffa4467888e99bce2 | |
parent | 995bedd6fbf57ccd3bc18d0bb1c9b033054b02ad (diff) |
dev: Update arguments for `create_pull_request_dir()`, and
`get_pull_request()` in `main_loop()`
-rw-r--r-- | pullreqd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -181,11 +181,11 @@ int main_loop(config *cfg, int *listen_sockets, git_repo **repos) { for (; !done;) { pull_request *new_pr; - if (create_pull_request_dir(pr, idx, cfg->pr_root) < 0) { + if (create_pull_request_dir(pr, idx, cfg->pr_root, "") < 0) { log(LOG_ERR, "Failed to create Pull Request directory."); return -1; } - new_pr = get_pull_request(idx, cfg->pr_root); + new_pr = get_pull_request(idx, cfg->pr_root, ""); if (new_pr == NULL) { char *idx_str = index_to_str(idx); log(LOG_ERR, "Failed to get Pull Request #%s.", idx_str); |