fix argument mismatches between header and c files

This commit is contained in:
Nayan
2025-05-08 17:13:03 -04:00
parent 451df18af9
commit ddf6f8812f
5 changed files with 8 additions and 7 deletions

View File

@@ -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");