Return correct playlist status

This commit is contained in:
Ron Pedde 2004-03-14 00:12:25 +00:00
parent 9a943fdcd0
commit acfcde0dda

View File

@ -604,7 +604,7 @@ int db_get_playlist_is_smart(int playlistid) {
if(!current) { if(!current) {
result=0; result=0;
} else { } else {
result=1; result=current->is_smart;
} }
pthread_rwlock_unlock(&db_rwlock); pthread_rwlock_unlock(&db_rwlock);