aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-18 18:20:12 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-18 18:20:12 -0600
commit9e85e8d12aba00c3f6a6a4e729f285590cbbc913 (patch)
tree1e234bc5955298a961ceb59e7865d3268a59b891
parenth (diff)
downloadcsci4061-9e85e8d12aba00c3f6a6a4e729f285590cbbc913.tar
csci4061-9e85e8d12aba00c3f6a6a4e729f285590cbbc913.tar.gz
csci4061-9e85e8d12aba00c3f6a6a4e729f285590cbbc913.tar.bz2
csci4061-9e85e8d12aba00c3f6a6a4e729f285590cbbc913.tar.lz
csci4061-9e85e8d12aba00c3f6a6a4e729f285590cbbc913.tar.xz
csci4061-9e85e8d12aba00c3f6a6a4e729f285590cbbc913.tar.zst
csci4061-9e85e8d12aba00c3f6a6a4e729f285590cbbc913.zip
aaaaaaaaaaaaa
-rw-r--r--P3/server.c1
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));