diff options
author | John Kohl <jtkohl@mit.edu> | 1987-07-01 14:10:42 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-07-01 14:10:42 +0000 |
commit | 484803e03e471fb70f4a1afd5d0661bf10ef2a93 (patch) | |
tree | 839f693d4204c0aff2aae325ca0f93f28483aff0 /server/server.c | |
parent | e80549fea12d9babbfe2a5c7ee26ca7d02c0f147 (diff) |
do the Right Thing (use hostm recovery routines)
Diffstat (limited to 'server/server.c')
-rw-r--r-- | server/server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/server.c b/server/server.c index 0aba6d0..758261f 100644 --- a/server/server.c +++ b/server/server.c @@ -140,11 +140,13 @@ ZClient_t *client; zdbug1("server recover"); /* XXX */ if ((host = hostm_find_host(&client->zct_sin.sin_addr)) != NULLZHLT) - client_deregister(client, host); + /* send a ping, set up a timeout, and return */ + hostm_losing(client, host); else syslog(LOG_ERR, "srv_recover: no host for client"); return; } + /* flush all data associated with the server which */ static void server_flush(which) |