From 9e85e8d12aba00c3f6a6a4e729f285590cbbc913 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 18 Nov 2020 18:20:12 -0600 Subject: aaaaaaaaaaaaa --- P3/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/P3/server.c b/P3/server.c index 4becd1b..7ce2355 100644 --- a/P3/server.c +++ b/P3/server.c @@ -126,6 +126,7 @@ void addIntoCache(char *mybuf, char *memory, int memory_size) free(temp); cacheLength--; pthread_mutex_unlock(&cacheLock); + //TODO: MAKE THIS NOT RUN RECURSIVELY!!!! THIS DOES NOT WORK addIntoCache(mybuf, memory, memory_size); } else { cache_entry_t *temp = calloc(1, sizeof(cache_entry_t)); -- cgit v1.2.3