summaryrefslogtreecommitdiff
path: root/zwgc/main.c
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-05-24 18:42:31 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-05-24 18:42:31 +0000
commitc392ad6f92fc7e85885b72aad9ce7ea71e63fa6c (patch)
tree5fbe0f3e3166afac37d974bf54c5f5039b3f067c /zwgc/main.c
parentace023e1bd22101ddccc4f1ea7ee9e3bdb2e7552 (diff)
Reverted "punt" semantics to previous form, for Athena release 7.0.
Diffstat (limited to 'zwgc/main.c')
-rw-r--r--zwgc/main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/zwgc/main.c b/zwgc/main.c
index 92edea8..f092ec2 100644
--- a/zwgc/main.c
+++ b/zwgc/main.c
@@ -291,23 +291,23 @@ void notice_handler(notice)
notice->z_message_len, 1);
string instance = get_field(notice->z_message,
notice->z_message_len, 2);
- string sender = get_field(notice->z_message,
- notice->z_message_len, 3);
- punt(class, instance, sender);
+ string recipient = get_field(notice->z_message,
+ notice->z_message_len, 3);
+ punt(class, instance, recipient);
free(class);
free(instance);
- free(sender);
+ free(recipient);
} else if (!strcasecmp(control_opcode, USER_UNSUPPRESS)) {
string class = get_field(notice->z_message,
notice->z_message_len, 1);
string instance = get_field(notice->z_message,
notice->z_message_len, 2);
- string sender = get_field(notice->z_message,
- notice->z_message_len, 3);
- unpunt(class, instance, sender);
+ string recipient = get_field(notice->z_message,
+ notice->z_message_len, 3);
+ unpunt(class, instance, recipient);
free(class);
free(instance);
- free(sender);
+ free(recipient);
} else
printf("zwgc: unknown control opcode %s.\n", control_opcode);
@@ -324,7 +324,7 @@ void notice_handler(notice)
if (puntable_address_p(notice->z_class,
notice->z_class_inst,
- notice->z_sender)) {
+ notice->z_recipient)) {
#ifdef DEBUG
if (zwgc_debug)
printf("PUNTED <%s>!!!!\n", notice->z_class_inst);