aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ci_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ci_queue.c')
-rw-r--r--src/ci_queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ci_queue.c b/src/ci_queue.c
index d87d3c0..03cb0e7 100644
--- a/src/ci_queue.c
+++ b/src/ci_queue.c
@@ -11,19 +11,19 @@ int ci_queue_entry_create(struct ci_queue_entry **entry, const char *_url, const
url = strdup(_url);
if (!url) {
- print_errno("strdup");
+ log_errno("strdup");
goto fail;
}
rev = strdup(_rev);
if (!rev) {
- print_errno("strdup");
+ log_errno("strdup");
goto free_url;
}
*entry = malloc(sizeof(struct ci_queue_entry));
if (!*entry) {
- print_errno("malloc");
+ log_errno("malloc");
goto free_rev;
}
(*entry)->url = url;