microsoft / update-server-server-sync

Sample implementation of the "Windows Update Services: Server-Server" protocol.
MIT License
49 stars 20 forks source link

Fix increment of progress args in GetCategories #15

Open xxbiohazrdxx opened 1 year ago

xxbiohazrdxx commented 1 year ago

progressArgs is only incremented by one, however the logic in GetCategories is executing batches of multiple updates at a time.

Corrects GetCategories to use the same logic as CopyTo so that progress accurately reflects how many categories have been retrieved.