From 12ef035c14b9f363a0fa28e70de7e8092878af2d Mon Sep 17 00:00:00 2001 From: Andreas Obergrusberger Date: Fri, 4 Aug 2006 18:28:07 +0000 Subject: [PATCH] patch by jat to fix http://musicpd.org/mantis/view.php?id=1293 git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4548 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/mpdclient.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/mpdclient.c b/src/mpdclient.c index 1cb06bc..d950e25 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -871,11 +871,8 @@ mpdclient_filelist_get(mpdclient_t *c, gchar *path) filelist->length++; } - if( mpdclient_finish_command(c) ) - { - g_free(path_utf8); - return mpdclient_filelist_free(filelist); - } + /* If there's an error, ignore it. We'll return an empty filelist. */ + mpdclient_finish_command(c); g_free(path_utf8); filelist->path = g_strdup(path); -- 2.30.2