Code

mpdclient: mpdclient_filelist_get() returns NULL on error
authorMax Kellermann <max@duempel.org>
Wed, 30 Sep 2009 17:56:06 +0000 (19:56 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 30 Sep 2009 17:56:06 +0000 (19:56 +0200)
commit422c8a8b990f7d55c7594626763146386b82dbc7
tree3bc6d97d5d0cd9c59a0c140c15f9eb7864ee9cf7
parent4b9c1f664cc537911b3878bb8359a7ccbd92c314
mpdclient: mpdclient_filelist_get() returns NULL on error

Don't artificially return an empty list when an error occurs.
Also don't insert the dummy ".." entry in mpdclient_filelist_get(),
screen_file.c should do this.
src/mpdclient.c
src/screen_file.c