aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-15 19:29:20 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-15 19:29:20 +0000
commitb00555667522f812440572016f3c1237941a63b2 (patch)
tree59e5acb5ab6c27bf2807d57d36ea53b7c5409b21 /src/song.c
parentf3e8d59d5c584f5925a8b23919aaa5b5c954cf85 (diff)
downloadmpd-b00555667522f812440572016f3c1237941a63b2.tar.gz
mpd-b00555667522f812440572016f3c1237941a63b2.tar.xz
mpd-b00555667522f812440572016f3c1237941a63b2.zip
this shit really needs to be cleaned up, but its good enough for testing,
intelligently use memmove, when inserting nodes in a sorted list git-svn-id: https://svn.musicpd.org/mpd/trunk@2677 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/song.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.c b/src/song.c
index a54c71735..91714f01c 100644
--- a/src/song.c
+++ b/src/song.c
@@ -189,7 +189,7 @@ void insertSongIntoList(SongList * list, ListNode ** nextSongNode, char * key,
*nextSongNode = (*nextSongNode)->nextNode;
}
else {
- insertInListBeforeNode(list, *nextSongNode, song->url,
+ insertInListBeforeNode(list, *nextSongNode, -1, song->url,
(void *)song);
}
}