diff options
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) { |
