aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 08:05:22 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 08:05:28 +0200
commitbd1dee9199a39dc2fb0b04949fb66742dfcb580e (patch)
treef1bd7145619185f6527a2165c6162414446e09e6
parentci_queue: rename a couple of functions (diff)
downloadcimple-bd1dee9199a39dc2fb0b04949fb66742dfcb580e.tar.gz
cimple-bd1dee9199a39dc2fb0b04949fb66742dfcb580e.zip
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...
-rw-r--r--src/ci_queue.c2
1 files changed, 1 insertions, 1 deletions
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)