diff options
author | John Kohl <jtkohl@mit.edu> | 1987-11-15 18:46:17 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-11-15 18:46:17 +0000 |
commit | 6db98fdc9aa6252b33fdd6f8dad159059cb467ad (patch) | |
tree | c6c6f942bd1577e116a41a14f5ae49823a30b7ef /server/hostm.c | |
parent | c955829c471bad05253e25b530265cf3e49a97db (diff) |
extra arg to client_deregister
Diffstat (limited to 'server/hostm.c')
-rw-r--r-- | server/hostm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/hostm.c b/server/hostm.c index 97d2112..78e58a1 100644 --- a/server/hostm.c +++ b/server/hostm.c @@ -359,7 +359,9 @@ struct sockaddr_in *who; zdbug((LOG_DEBUG,"lost client %s/%d", inet_ntoa(lhp->lh_client->zct_sin.sin_addr), ntohs(lhp->lh_client->zct_sin.sin_port))); - client_deregister(lhp->lh_client, lhp->lh_host); + /* deregister all subscriptions, and flush locations + associated with the client. */ + client_deregister(lhp->lh_client, lhp->lh_host, 1); server_kill_clt(lhp->lh_client); xremque(lhp); xfree(lhp); |