aboutsummaryrefslogtreecommitdiffstats
path: root/P3
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-17 14:58:40 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-17 14:58:40 -0600
commit2345ddb1aa40116607c6d3f136de4d86f7fd46cc (patch)
treea5d6ad0758a0c64327bb712f0a2a8ea4fab45877 /P3
parenthelp please (diff)
downloadcsci4061-2345ddb1aa40116607c6d3f136de4d86f7fd46cc.tar
csci4061-2345ddb1aa40116607c6d3f136de4d86f7fd46cc.tar.gz
csci4061-2345ddb1aa40116607c6d3f136de4d86f7fd46cc.tar.bz2
csci4061-2345ddb1aa40116607c6d3f136de4d86f7fd46cc.tar.lz
csci4061-2345ddb1aa40116607c6d3f136de4d86f7fd46cc.tar.xz
csci4061-2345ddb1aa40116607c6d3f136de4d86f7fd46cc.tar.zst
csci4061-2345ddb1aa40116607c6d3f136de4d86f7fd46cc.zip
add TODO
Diffstat (limited to 'P3')
-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;