summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39758c8)
raw | patch | inline | side by side (parent: 39758c8)
author | Kalle Wallin <kaw@linux.se> | |
Mon, 14 Jun 2004 21:28:18 +0000 (21:28 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Mon, 14 Jun 2004 21:28:18 +0000 (21:28 +0000) |
src/mpdclient.c | patch | blob | history |
diff --git a/src/mpdclient.c b/src/mpdclient.c
index af6476fdb039fbcea786b40617eb63c52f6e3296..89ed29e2a39c787199ec9e0b61a3de7392fd5a50 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
{
GList *list = g_list_first(filelist->list);
+ D("mpdclient_filelist_free()\n");
while( list!=NULL )
{
filelist_entry_t *entry = list->data;
mpd_InfoEntity *entity;
gchar *path_utf8 = locale_to_utf8(path);
+ D("mpdclient_filelist_get(%s)\n", path);
mpd_sendLsInfoCommand(c->connection, path_utf8);
filelist = g_malloc0(sizeof(mpdclient_filelist_t));
if( path && path[0] && strcmp(path, "/") )
mpdclient_filelist_t *
mpdclient_filelist_update(mpdclient_t *c, mpdclient_filelist_t *filelist)
{
- if( filelist == NULL )
+ if( filelist != NULL )
{
gchar *path = g_strdup(filelist->path);