db/upnp: break when zero objects have been returned
This commit is contained in:
parent
bf9352fb26
commit
fa67a4e956
@ -123,6 +123,9 @@ ContentDirectoryService::readDir(UpnpClient_Handle handle,
|
||||
count, total, error))
|
||||
return false;
|
||||
|
||||
if (count == 0)
|
||||
return true;
|
||||
|
||||
offset += count;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user