diff options
| author | verdant <im@verdant.ee> | 2026-06-09 18:27:47 +0800 |
|---|---|---|
| committer | verdant <im@verdant.ee> | 2026-06-09 18:27:47 +0800 |
| commit | c72a925374638e703df787b38fc81f478f901752 (patch) | |
| tree | bd0cb144e17aedcc87e45be7069969868f054c59 /server.c | |
| parent | d1e2ad9a9e278473d0583ba733928f9924d0ce04 (diff) | |
| download | shsd-c72a925374638e703df787b38fc81f478f901752.tar.gz shsd-c72a925374638e703df787b38fc81f478f901752.zip | |
Fix some typos
Diffstat (limited to 'server.c')
| -rw-r--r-- | server.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |
