ok, fix FindNode

git-svn-id: https://svn.musicpd.org/mpd/trunk@2675 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-11-15 17:40:48 +00:00
parent 731c9fa56c
commit c3b76c4171
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ int findNodeInList(List * list, char * key, ListNode ** node) {
cmp = strcmp(tmpNode->key,key);
*node = tmpNode;
if( 0 == cmp ) return 1;
else if( cmp < 0) return 0;
else if( cmp > 0) return 0;
else {
*node = NULL;
return 0;