diff options
Diffstat (limited to 'server.c')
| -rw-r--r-- | server.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -139,11 +139,7 @@ int main(int argc, char **argv) send(new_fd, http_content_type, strlen(http_content_type), 0); - - FILE *index_fd = fopen("./index.html", "r"); - - struct stat stat_buf; - shsd_sendfile(new_fd, index_fd, &stat_buf); + handle_client(new_fd, buf); } memset(buf, 0, 1024); |
