aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-10 04:08:52 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-10 04:08:52 +0000
commit8a38ac9446887f9e05f6c514cee4477ad3e50088 (patch)
tree47463e7340d0e8bf5a5f49dae0082df5f14568c8
parent58cc762e160436534314f90bbd575e8ff19aa868 (diff)
downloadmpd-8a38ac9446887f9e05f6c514cee4477ad3e50088.tar.gz
mpd-8a38ac9446887f9e05f6c514cee4477ad3e50088.tar.xz
mpd-8a38ac9446887f9e05f6c514cee4477ad3e50088.zip
minor change to linked list
git-svn-id: https://svn.musicpd.org/mpd/branches/r2562-metadata-handling-rewrite@2571 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index dad4093e6..48f1e1c62 100644
--- a/src/list.c
+++ b/src/list.c
@@ -212,7 +212,7 @@ ListNode * findNodeInList(List * list, char * key) {
tmpNode = tmpNode->nextNode;
}
- if(tmpNode!=NULL) return tmpNode;
+ return tmpNode;
}
return NULL;