Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed: abort upnp directory reading if received count ever is large…

…r than expected
  • Loading branch information...
commit 296435b9a9262b23b49cbfb2302e36e730f292e7 1 parent ec70e26
@elupus elupus authored
View
2  lib/libUPnP/Platinum/Source/Devices/MediaServer/PltSyncMediaBrowser.cpp
@@ -284,7 +284,7 @@ PLT_SyncMediaBrowser::BrowseSync(PLT_DeviceDataReference& device,
// nothing is returned back by the server.
// Unless we were told to stop after reaching a certain amount to avoid
// length delays
- if ((browse_data->info.tm && browse_data->info.tm == list->GetItemCount()) ||
+ if ((browse_data->info.tm && browse_data->info.tm <= list->GetItemCount()) ||
(max_results && list->GetItemCount() >= max_results))
break;
Please sign in to comment.
Something went wrong with that request. Please try again.