From 2345ddb1aa40116607c6d3f136de4d86f7fd46cc Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 17 Nov 2020 14:58:40 -0600 Subject: add TODO --- P3/server.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3