aboutsummaryrefslogtreecommitdiff
path: root/lib/libXDAAP/libXDAAP.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXDAAP/libXDAAP.c')
-rw-r--r--lib/libXDAAP/libXDAAP.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libXDAAP/libXDAAP.c b/lib/libXDAAP/libXDAAP.c
index ddec6e5889..50ddcd43dd 100644
--- a/lib/libXDAAP/libXDAAP.c
+++ b/lib/libXDAAP/libXDAAP.c
@@ -606,6 +606,8 @@ static int Priv_DAAP_ClientHost_GetDatabaseItems(DAAP_SClientHost *pCHThis,
HTTP_RETURN_IF_FAILED(httpRes);
items.h.expecting = QUERY_GENERICLISTING;
+ items.returnedcount = 0;
+ items.listitems = 0;
dmap_parseProtocolData(httpRes->contentlen, httpRes->data,
(protoParseResult*)&items);