Commit fa67a4e9 authored by Max Kellermann's avatar Max Kellermann

db/upnp: break when zero objects have been returned

parent bf9352fb
......@@ -123,6 +123,9 @@ ContentDirectoryService::readDir(UpnpClient_Handle handle,
count, total, error))
return false;
if (count == 0)
return true;
offset += count;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment