From d95fbee19049cc0f2b41de05d237e1082f8ad484 Mon Sep 17 00:00:00 2001 From: "David C. Jedlinsky" Date: Wed, 7 Oct 1987 11:30:45 +0000 Subject: A few fixes. --- zhm/zhm_client.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'zhm/zhm_client.c') 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 -- cgit v1.2.3