| 652 | } |
| 653 | |
| 654 | static void FetchFlagsTask_Ensure(void) { |
| 655 | if (flagsCount < flagsCapacity) return; |
| 656 | flagsCapacity = flagsCount + 10; |
| 657 | |
| 658 | if (flags) { |
| 659 | flags = (struct Flag*)Mem_Realloc(flags, flagsCapacity, sizeof(struct Flag), "flags"); |
| 660 | } else { |
| 661 | flags = (struct Flag*)Mem_Alloc(flagsCapacity, sizeof(struct Flag), "flags"); |
| 662 | } |
| 663 | } |
| 664 | |
| 665 | void FetchFlagsTask_Add(const struct ServerInfo* server) { |
| 666 | int i; |
no test coverage detected