aboutsummaryrefslogtreecommitdiff
path: root/seatd/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd/client.c')
-rw-r--r--seatd/client.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/seatd/client.c b/seatd/client.c
index 60e6d55..1adc2d9 100644
--- a/seatd/client.c
+++ b/seatd/client.c
@@ -76,8 +76,6 @@ void client_kill(struct client *client) {
assert(client);
if (client->connection.fd != -1) {
shutdown(client->connection.fd, SHUT_RDWR);
- close(client->connection.fd);
- client->connection.fd = -1;
};
if (client->seat != NULL) {
seat_remove_client(client);
@@ -96,7 +94,6 @@ void client_destroy(struct client *client) {
client->event_source = NULL;
}
if (client->connection.fd != -1) {
- shutdown(client->connection.fd, SHUT_RDWR);
close(client->connection.fd);
client->connection.fd = -1;
}