Overview
Comment: | Get rid of an unnecessary loop.
The loop is not required as we recalculate each entry's |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e240aaaf2a4fc989b3bd0c353e2b2535 |
User & Date: | js on 2011-05-25 22:41:26 |
Other Links: | manifest | tags |
Context
2011-05-26
| ||
16:38 | Fix accumulatedWeight and iterate priorities in the right order. check-in: c7b3eed29f user: js tags: trunk | |
2011-05-25
| ||
22:41 | Get rid of an unnecessary loop. check-in: e240aaaf2a user: js tags: trunk | |
22:13 |
Correctly handle an empty priority list. It should not exist, but this is no reason to not terminate. check-in: 0fe3ad2304 user: js tags: trunk | |
Changes
Modified src/XMPPSRVEnumerator.m from [27d37edf8c] to [f3a2775abf].
︙ | |||
317 318 319 320 321 322 323 | 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 | - - + - - - - | } - (id)nextObject { XMPPSRVEntry *ret; of_list_object_t *iter; uint32_t totalWeight = 0; |
︙ |