diff options
author | John Kohl <jtkohl@mit.edu> | 1987-11-09 07:12:10 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-11-09 07:12:10 +0000 |
commit | e36e1d9265b65466ea919989ccd7de824b41f47b (patch) | |
tree | 11778479e9a00e546203eab63d1d09cfb7a0e47f /server/client.c | |
parent | 0d12ca4d23f5239cd4a7bcdf0841d9e57def366a (diff) |
flush the client locations when flushing the client
Diffstat (limited to 'server/client.c')
-rw-r--r-- | server/client.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/server/client.c b/server/client.c index 53e5223..7a6badc 100644 --- a/server/client.c +++ b/server/client.c @@ -110,8 +110,8 @@ ZServerDesc_t *server; /* * Deregister the client, freeing resources. - * Remove any packets in the nack queue, release subscriptions, and - * dequeue him from the host. + * Remove any packets in the nack queue, release subscriptions, release + * locations, and dequeue him from the host. */ void @@ -127,6 +127,9 @@ ZHostList_t *host; /* release subscriptions */ (void) subscr_cancel_client(client); + /* release locations */ + (void) uloc_flush_client(&client->zct_sin); + /* unthread and release this client */ if (host->zh_clients) |