aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--P3/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/P3/server.c b/P3/server.c
index df4f8ed..2353ed2 100644
--- a/P3/server.c
+++ b/P3/server.c
@@ -186,6 +186,7 @@ void * worker(void *arg) {
struct stat* oob;
fstat(request->fd, &oob);
numbytes = oob->st_size;
+ //TODO: add return_error as well for when trying to find something that does not exist.
return_result(request->fd, getContentType(request->request), workerBuf, numbytes);
}
return NULL;