From c72a925374638e703df787b38fc81f478f901752 Mon Sep 17 00:00:00 2001 From: verdant Date: Tue, 9 Jun 2026 18:27:47 +0800 Subject: Fix some typos --- server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.c b/server.c index 0197aab..f44d77a 100644 --- a/server.c +++ b/server.c @@ -48,7 +48,7 @@ static HTTP_METHODS get_require_method(char *method) } } -sitatic int check_file_stat(const char *path, int fd) +static int check_file_stat(const char *path, int fd) { struct stat st; if (stat(path, &st) == -1 && S_ISDIR(st.st_mode)) { @@ -58,7 +58,7 @@ sitatic int check_file_stat(const char *path, int fd) return 0; } -sitatic int handle_client(int client_fd, char *buf) +static int handle_client(int client_fd, char *buf) { char method[16], path[256]; if (sscanf(buf, "%15s %255s", method, path) < 2) { -- cgit v1.2.3