Commit c3b76c41 authored by Warren Dukes's avatar Warren Dukes

ok, fix FindNode

git-svn-id: https://svn.musicpd.org/mpd/trunk@2675 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 731c9fa5
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment