diff --git a/httpd/.gitignore b/httpd/.gitignore index 035927b..85e1c00 100644 --- a/httpd/.gitignore +++ b/httpd/.gitignore @@ -7,3 +7,4 @@ *.core httpd __pycache__ +env/ diff --git a/httpd/src/config/config.c b/httpd/src/config/config.c index d910424..ee7747f 100644 --- a/httpd/src/config/config.c +++ b/httpd/src/config/config.c @@ -230,7 +230,7 @@ struct config *parse_configuration(int argc, char *argv[]) // Check config validity if (check_config(config) != 0) { - printf("%s: Missing mandatory flags, cannot continue.", argv[0]); + printf("%s: Missing mandatory flags, cannot continue.\n", argv[0]); config_destroy(config); return NULL; } diff --git a/httpd/src/http/http.c b/httpd/src/http/http.c index c53c468..192b69e 100644 --- a/httpd/src/http/http.c +++ b/httpd/src/http/http.c @@ -2,7 +2,7 @@ #include #include -#include +// #include #include #include #include @@ -187,7 +187,7 @@ static void check_req(struct http_request *req, struct http_response *resp) strlen("HTTP/1.1") != 0)) resp->status_code = 505; - printf("%s %d\n", req->protocol->data, resp->status_code); + // printf("%s %d\n", req->protocol->data, resp->status_code); } // === Functions