mirror of
https://github.com/Zxilly/UA2F.git
synced 2025-12-25 12:39:28 +00:00
fix: compilation failed (#135)
* fix: ninja compilation error * Update src/cache.c Co-authored-by: Zxilly <31370133+Zxilly@users.noreply.github.com> Signed-off-by: SivonZn <79399171+SivonZn@users.noreply.github.com> --------- Signed-off-by: SivonZn <79399171+SivonZn@users.noreply.github.com> Co-authored-by: Zxilly <31370133+Zxilly@users.noreply.github.com>
This commit is contained in:
parent
90c9d9f5ed
commit
1ac208da2e
@ -14,7 +14,7 @@ pthread_rwlock_t cacheLock;
|
||||
struct cache *not_http_dst_cache = NULL;
|
||||
static int check_interval;
|
||||
|
||||
_Noreturn static void* check_cache(void*) {
|
||||
_Noreturn static void* check_cache(void* arg __attribute__((unused))) {
|
||||
while (true) {
|
||||
pthread_rwlock_wrlock(&cacheLock);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user