diff options
Diffstat (limited to 'P3')
-rw-r--r-- | P3/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |