Wrong total number of slots reported due to extra search result dupe[ADC]
Bug #1854309 reported by
Delion
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Confirmed
|
Low
|
Unassigned |
Bug Description
Search on ADC hubs only.
So, 1 TTH.
5 hits.
4 unique users, one with 2 slots skipped (he has that file duplicated actually)
Real slots: 3+2+1=6
Displayed slots: 8 (3+2*2+1).
Why X/0 btw...
description: | updated |
summary: |
- Wrong total number of slots reported [ADC] + Wrong total number of slots reported due to extra search result + dupe[ADC] |
To post a comment you must log in.
The code counting the slots is probably just blatantly adds up the numbers in the children rows. It should skip same results coming from ADC clients; for NMDC or mixed results you can't properly detect same clients.
It is X/0 because the ADC Search result does not include the total number of opened slots, only the number of free ones so it always show 0 for ADC results. IIRC the reason is that in long term, people developing ADC planned to do away with the concept of slots at all.