From a67dc94484cf9869793fc1861914b800a6559a74 Mon Sep 17 00:00:00 2001 From: amelia squires Date: Tue, 30 Sep 2025 18:10:02 -0500 Subject: fix indentation!!! --- src/net/util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net/util.h') diff --git a/src/net/util.h b/src/net/util.h index b8bc824..a54ac95 100644 --- a/src/net/util.h +++ b/src/net/util.h @@ -11,7 +11,7 @@ * @param {char**} pointer to a unallocated buffer * @param {int*} pointer to an int, will be where the header ends * @return {int64_t} bytes read, -1 if the body was damaged, -2 if the header was -*/ + */ int64_t recv_full_buffer(int client_fd, char** _buffer, int* header_eof, int* state); int64_t recv_header(int client_fd, char** _buffer, char** header_eof); @@ -22,7 +22,7 @@ int64_t recv_header(int client_fd, char** _buffer, char** header_eof); * @param {int} where the header ends * @param {parray_t**} pointer to a unallocated parray_t * @return {int} returns 0 or -1 on failure -*/ + */ int parse_header(char* buffer, int header_eof, parray_t** _table); /** @@ -34,7 +34,7 @@ int parse_header(char* buffer, int header_eof, parray_t** _table); * @param {char*} all other header values * @param {char*} response content * @param {size_t} content length -*/ + */ void http_build(str** _dest, int code, const char* code_det, char* header_vs, char* content, size_t len); /** @@ -42,7 +42,7 @@ void http_build(str** _dest, int code, const char* code_det, char* header_vs, ch * * @param {int} http response code * @param {char*} allocated destination string -*/ + */ const char* http_code(int code); void client_fd_errors(int client_fd); -- cgit v1.2.3