summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4960a25)
raw | patch | inline | side by side (parent: 4960a25)
author | Andreas Obergrusberger <tradiaz@yahoo.de> | |
Fri, 4 Aug 2006 18:28:07 +0000 (18:28 +0000) | ||
committer | Andreas Obergrusberger <tradiaz@yahoo.de> | |
Fri, 4 Aug 2006 18:28:07 +0000 (18:28 +0000) |
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4548 09075e82-0dd4-0310-85a5-a0d7c8717e4f
src/mpdclient.c | patch | blob | history |
diff --git a/src/mpdclient.c b/src/mpdclient.c
index 1cb06bc75eb5bb86db80b485c180dc4b419c8c65..d950e254df999501dd4e679e52d0fd425963f326 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
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);