From bd1dee9199a39dc2fb0b04949fb66742dfcb580e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 May 2023 08:05:22 +0200 Subject: ci_queue: fix a broken getter Everything was broken starting from the "making struct ci_queue_entry opaque" commit. Damn, I really wish I'd have some kind of automated testing to catch errors like this... --- src/ci_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci_queue.c b/src/ci_queue.c index 848ab95..0d86f59 100644 --- a/src/ci_queue.c +++ b/src/ci_queue.c @@ -66,7 +66,7 @@ void ci_queue_entry_destroy(struct ci_queue_entry *entry) const char *ci_queue_entry_get_url(const struct ci_queue_entry *entry) { - return entry->rev; + return entry->url; } const char *ci_queue_entry_get_rev(const struct ci_queue_entry *entry) -- cgit v1.2.3