diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-10-22 23:03:33 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-10-22 23:03:33 +0200 |
commit | 8e60acc147462386b0ad31b03e4a694efabd834f (patch) | |
tree | a094a4faf6295cb1ff01d2e52823a068667283d7 /Year_3/TSDWL/webserver | |
parent | cd21f919f347d3129e5994d303bce240e7f84cdc (diff) |
removed useless print
Diffstat (limited to 'Year_3/TSDWL/webserver')
-rw-r--r-- | Year_3/TSDWL/webserver/server.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Year_3/TSDWL/webserver/server.c b/Year_3/TSDWL/webserver/server.c index dce54f9..ff9a5bf 100644 --- a/Year_3/TSDWL/webserver/server.c +++ b/Year_3/TSDWL/webserver/server.c @@ -213,7 +213,6 @@ read_file(char* root, request_t* request, int client) strncpy(path + root_len, file, file_len); if ((fd = open(path, O_RDONLY)) == -1) { - fprintf(stderr, "The file is: %s\n\n", path); perror("Error opening the file on server"); response = HTTP_404_NOT_FOUND; switch (request->http_version) { |