diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 00:52:05 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 00:52:05 +0000 |
commit | 171a7752a8fab0e1c55be1469a331ef20a7b3755 (patch) | |
tree | 33a74b690d0567116d4ab8d681d6499a232ecb9c /src/list.c | |
parent | 8c4bc2d2d499951107572b10e5a99ab2913f3aea (diff) |
add --only-create-db option from msells
have SIGHUP cause rereading db file
git-svn-id: https://svn.musicpd.org/mpd/trunk@663 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c index d14f5b874..b6322052b 100644 --- a/src/list.c +++ b/src/list.c @@ -88,6 +88,9 @@ int insertInListBeforeNode(List * list, ListNode * beforeNode, char * key, } else { node->prevNode = beforeNode->prevNode; + if(node->prevNode) { + node->prevNode->nextNode = node; + } beforeNode->prevNode = node; } |