aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_queue_priority.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-21 19:17:14 +0200
committerMax Kellermann <max@duempel.org>2012-08-21 19:17:14 +0200
commit5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4 (patch)
treeb8b13a0b3109aa6124877f5c6d902928c82e06db /test/test_queue_priority.c
parentef5125f8f4ee992c5a8f24d1b93851db5df5c43d (diff)
downloadmpd-5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4.tar.gz
mpd-5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4.tar.xz
mpd-5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4.zip
queue_save: save song priorities
Diffstat (limited to 'test/test_queue_priority.c')
-rw-r--r--test/test_queue_priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_queue_priority.c b/test/test_queue_priority.c
index a7106a8e9..5543edbba 100644
--- a/test/test_queue_priority.c
+++ b/test/test_queue_priority.c
@@ -41,7 +41,7 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
queue_init(&queue, 32);
for (unsigned i = 0; i < G_N_ELEMENTS(songs); ++i)
- queue_append(&queue, &songs[i]);
+ queue_append(&queue, &songs[i], 0);
assert(queue_length(&queue) == G_N_ELEMENTS(songs));