From 7f6ce8fafc493014c96e9a9123f6482aa2cf5a5c Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 31 Jul 2022 18:08:42 -0300 Subject: dev: Update arguments for `create_pull_request_dir()`, and `get_pull_request()` in `main_loop()` --- pullreqd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pullreqd.c') diff --git a/pullreqd.c b/pullreqd.c index a70d1b1..30be263 100644 --- a/pullreqd.c +++ b/pullreqd.c @@ -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); -- cgit v1.2.3-13-gbd6f