diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-08 09:04:24 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-08 09:04:24 +0200 |
commit | 5e64d1c4b78c908e92a65e03fdc6817ffe59a8a6 (patch) | |
tree | 6472c8d0bf822c52b633804a39afc05351c0571b /src/ci_queue.c | |
parent | log: prepend timestamps (diff) | |
download | cimple-5e64d1c4b78c908e92a65e03fdc6817ffe59a8a6.tar.gz cimple-5e64d1c4b78c908e92a65e03fdc6817ffe59a8a6.zip |
log: refactoring
Diffstat (limited to 'src/ci_queue.c')
-rw-r--r-- | src/ci_queue.c | 6 |
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; |