mirror of
https://github.com/opus-tango/http-server-in-c.git
synced 2026-03-20 03:55:25 +00:00
fix argument mismatches between header and c files
This commit is contained in:
@@ -115,7 +115,7 @@ void print_http_response(http_response* res) {
|
||||
printf("Body:\n%s\n", (res->body == NULL) ? "" : res->body);
|
||||
}
|
||||
|
||||
char* reponse_to_string(http_response* res) {
|
||||
char* response_to_string(http_response* res) {
|
||||
// Define lengths
|
||||
int total_length = 0;
|
||||
int len_newline = strlen("\r\n");
|
||||
|
||||
Reference in New Issue
Block a user