diff --git a/src/storage/datastorage.c b/src/storage/datastorage.c index 32bd33f..d78a01e 100644 --- a/src/storage/datastorage.c +++ b/src/storage/datastorage.c @@ -967,6 +967,7 @@ void denied_req_array_cb(struct uloop_timeout *t) { void insert_client_to_array(client entry) { pthread_mutex_lock(&client_array_mutex); entry.time = time(0); + entry.kick_count = 0; client client_tmp = client_array_delete(entry);