summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Sławiński2006-09-13 12:37:54 +0200
committerJoshua Judson Rosen2014-07-17 21:15:02 +0200
commit48bc33c5c5cf16fb42b1794c1f9c1887933daf15 (patch)
treefe8a5059a47af5ef2526af5351658f463304241e /src
parentv0.8.1 (diff)
downloadapf-48bc33c5c5cf16fb42b1794c1f9c1887933daf15.tar.gz
v0.8.2
- Fixed: bug in resource deallocation for remote admin clients
Diffstat (limited to 'src')
-rw-r--r--src/activefor.h2
-rw-r--r--src/server_remove.c4
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])));