summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/server.c b/server.c
index e4289d5..1e5d2ab 100644
--- a/server.c
+++ b/server.c
@@ -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);