aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.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/directory.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 'src/directory.c')
-rw-r--r--src/directory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 56fcdd009..d7163be41 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -938,6 +938,7 @@ void readDirectoryInfo(FILE * fp,Directory * directory) {
insertInListBeforeNode(
directory->subDirectories,
nextDirNode,
+ -1,
key,
(void *)subDirectory);
}