From 8e60acc147462386b0ad31b03e4a694efabd834f Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 22 Oct 2021 23:03:33 +0200 Subject: removed useless print --- Year_3/TSDWL/webserver/server.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Year_3/TSDWL') 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) { -- cgit v1.2.3-18-g5258