summaryrefslogtreecommitdiff
path: root/zhm/zhm_client.c
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1987-10-31 14:34:42 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1987-10-31 14:34:42 +0000
commit5343a0ab3f8531518f86723f165a41fa78d9bb06 (patch)
tree4a7b0e875c40a4bd3248af3e11c0298558c8c5d9 /zhm/zhm_client.c
parent3ecda0adb54aee0dfe3dc499e34d6f94b56af567 (diff)
Fixed lossage with control notices being enqueued.
Diffstat (limited to 'zhm/zhm_client.c')
-rw-r--r--zhm/zhm_client.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/zhm/zhm_client.c b/zhm/zhm_client.c
index ada4101..f72e9fe 100644
--- a/zhm/zhm_client.c
+++ b/zhm/zhm_client.c
@@ -37,12 +37,13 @@ transmission_tower(notice, packet, pak_len)
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);
+ new_server(NULL);
else
- syslog (LOG_INFO, "Bad control notice from client.");
- } else
+ syslog (LOG_INFO, "Bad control notice from client.");
+ return;
+ } else
if (notice->z_kind != UNSAFE) {
gack = *notice;
gack.z_kind = HMACK;