aboutsummaryrefslogtreecommitdiff
path: root/seatd/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd/client.c')
-rw-r--r--seatd/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/seatd/client.c b/seatd/client.c
index a5a11ab..949bbd8 100644
--- a/seatd/client.c
+++ b/seatd/client.c
@@ -73,6 +73,7 @@ struct client *client_create(struct server *server, int client_fd) {
client->session = -1;
client->server = server;
client->connection.fd = client_fd;
+ client->state = CLIENT_NEW;
linked_list_init(&client->devices);
linked_list_insert(&server->idle_clients, &client->link);
return client;