Overview
Comment: | Make GCC happy again |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f538f5fb70ef1136fae349f3a8b01b9f |
User & Date: | js on 2023-12-29 23:47:52 |
Other Links: | manifest | tags |
Context
2024-01-02
| ||
14:26 | OFDNSResolver: Add warnings about config reloading check-in: b4507c354a user: js tags: trunk | |
2023-12-29
| ||
23:47 | Make GCC happy again check-in: f538f5fb70 user: js tags: trunk | |
16:25 | OFDNSResolver: Clean up expired cache entries check-in: 219aa9cf65 user: js tags: trunk | |
Changes
Modified src/OFDNSResolver.m from [f3aa0cd47b] to [033477a200].
︙ | ︙ | |||
804 805 806 807 808 809 810 | length: bufferLength runLoopMode: runLoopMode]; } - (void)of_cleanUpCache { void *pool = objc_autoreleasePoolPush(); | | | 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 | length: bufferLength runLoopMode: runLoopMode]; } - (void)of_cleanUpCache { void *pool = objc_autoreleasePoolPush(); OFTimeInterval now = [[OFDate date] timeIntervalSince1970]; OFMutableArray *removeList; if (now - _lastCacheCleanup < 1) return; _lastCacheCleanup = now; removeList = [OFMutableArray arrayWithCapacity: _cache.count]; |
︙ | ︙ |