diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/activefor.h | 2 | ||||
-rw-r--r-- | src/server_remove.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/activefor.h b/src/activefor.h index 8f127aa..2e667af 100644 --- a/src/activefor.h +++ b/src/activefor.h @@ -53,7 +53,7 @@ #define S_STATE_OPENING_CLOSED 17 #define S_STATE_KICKING 19 -#define AF_VER(info) info" v0.8.1" +#define AF_VER(info) info" v0.8.2" #define TYPE_TCP 1 #define TYPE_UDP 3 diff --git a/src/server_remove.c b/src/server_remove.c index 93dcf15..53307b8 100644 --- a/src/server_remove.c +++ b/src/server_remove.c @@ -107,9 +107,9 @@ remove_raclient(ServerRealm* ptr, int client, fd_set* set, fd_set* wset, TaskSch close(SslFd_get_fd(ConnectClient_get_sslFd(ServerRealm_get_raClientsTable(ptr)[client]))); FD_CLR(SslFd_get_fd(ConnectClient_get_sslFd(ServerRealm_get_raClientsTable(ptr)[client])), set); if (scheduler) { - if ((task = ConnectClient_get_task(ServerRealm_get_clientsTable(ptr)[client]))) { + if ((task = ConnectClient_get_task(ServerRealm_get_raClientsTable(ptr)[client]))) { TaskScheduler_removeTask(scheduler, task); - ConnectClient_set_task(ServerRealm_get_clientsTable(ptr)[client], NULL); + ConnectClient_set_task(ServerRealm_get_raClientsTable(ptr)[client], NULL); } } SSL_clear(SslFd_get_ssl(ConnectClient_get_sslFd(ServerRealm_get_raClientsTable(ptr)[client]))); |