diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 08:05:22 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 08:05:28 +0200 |
commit | bd1dee9199a39dc2fb0b04949fb66742dfcb580e (patch) | |
tree | f1bd7145619185f6527a2165c6162414446e09e6 /src | |
parent | ci_queue: rename a couple of functions (diff) | |
download | cimple-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...
Diffstat (limited to '')
-rw-r--r-- | src/ci_queue.c | 2 |
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) |