ok, fix FindNode
git-svn-id: https://svn.musicpd.org/mpd/trunk@2675 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
731c9fa56c
commit
c3b76c4171
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue