diff options
author | David C. Jedlinsky <opus@mit.edu> | 1987-10-07 11:30:45 +0000 |
---|---|---|
committer | David C. Jedlinsky <opus@mit.edu> | 1987-10-07 11:30:45 +0000 |
commit | d95fbee19049cc0f2b41de05d237e1082f8ad484 (patch) | |
tree | 53539f5defc07c83c0114771e40dbbbfef6b268d /zhm/zhm_client.c | |
parent | 05a37c16afb46195b3b6c23da5fbf42bec440724 (diff) |
A few fixes.
Diffstat (limited to 'zhm/zhm_client.c')
-rw-r--r-- | zhm/zhm_client.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/zhm/zhm_client.c b/zhm/zhm_client.c index fdd55fe..ada4101 100644 --- a/zhm/zhm_client.c +++ b/zhm/zhm_client.c @@ -19,7 +19,7 @@ static char rcsid_hm_client_c[] = "$Header$"; #endif SABER #endif lint -extern int no_server, timeout_type, nclt; +extern int no_server, timeout_type, nclt, deactivated; extern struct sockaddr_in cli_sin, serv_sin, from; transmission_tower(notice, packet, pak_len) @@ -34,8 +34,10 @@ transmission_tower(notice, packet, pak_len) nclt++; if (notice->z_kind == HMCTL) { - if (!strcmp(notice->z_opcode, CLIENT_FLUSH)) - send_flush_notice(HM_FLUSH); + if (!strcmp(notice->z_opcode, CLIENT_FLUSH)) { + send_flush_notice(HM_FLUSH); + deactivated = 1; + } else if (!strcmp(notice->z_opcode, CLIENT_NEW_SERVER)) new_server(NULL); else |