summaryrefslogtreecommitdiff
path: root/server.h
diff options
context:
space:
mode:
authorJohnny Richard <johnny@johnnyrichard.com>2022-04-09 03:12:35 +0200
committerJohnny Richard <johnny@johnnyrichard.com>2022-04-09 03:12:35 +0200
commitad0eda138ecaffdc7df0b213d979984e48c5440b (patch)
treee3d3781ed627f5f37d5716e73ce234a3f666c786 /server.h
parentcb2f92cfa288c9d9d0665aff9b235f41196d80c3 (diff)
server: Fix broke pipe after client close connection
Diffstat (limited to 'server.h')
-rw-r--r--server.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/server.h b/server.h
index 2f79cd5..a718fd6 100644
--- a/server.h
+++ b/server.h
@@ -29,7 +29,6 @@ typedef struct server {
int epoll_fd;
struct epoll_event events[MAXEVENTS];
int connected_clients[MAXEVENTS];
- int connected_clients_index;
bool running;
} server_t;