diff options
author | spiff <spiff@xbmc.org> | 2011-11-05 11:30:44 +0100 |
---|---|---|
committer | spiff <spiff@xbmc.org> | 2011-11-05 11:32:10 +0100 |
commit | b979f382336e7ee0293f15fbc3844bbc7ca47989 (patch) | |
tree | 2d27a94bb0f22e12750dacae9fed346b6d7b5efe /lib/libXDAAP | |
parent | 1b434598ce76634f0beaa91872fdebd6b41d150f (diff) |
fixed: crash when accessing rhytmbox dapp shares
this just fixes the crash, they still don't work properly.
see ticket #12178
Diffstat (limited to 'lib/libXDAAP')
-rw-r--r-- | lib/libXDAAP/libXDAAP.c | 2 |
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); |