summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1998-04-30 16:06:05 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1998-04-30 16:06:05 +0000
commitaa4871197d1699765f90726f6f7f73adffec638f (patch)
treed7bd196619fb5408c9b50076980258ec11d6f05a /clients
parenta701cc52490ea0f22d26934b35788748f7140818 (diff)
From kretch: zero out the notice opcode so we don't use the same
opcode as the received message.
Diffstat (limited to 'clients')
-rw-r--r--clients/zaway/zaway.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clients/zaway/zaway.c b/clients/zaway/zaway.c
index 5dfdc8d..289ebb1 100644
--- a/clients/zaway/zaway.c
+++ b/clients/zaway/zaway.c
@@ -23,6 +23,7 @@ static const char rcsid_zaway_c[] = "$Id$";
#define MESSAGE_CLASS "MESSAGE"
#define DEFAULT_MSG "I'm sorry, but I am currently away from the terminal and am\nnot able to receive your message.\n"
+#define RESPONSE_OPCODE ""
RETSIGTYPE cleanup();
u_short port;
@@ -125,7 +126,8 @@ int main(argc,argv)
notice.z_recipient = notice.z_sender;
notice.z_sender = 0;
notice.z_default_format = "";
-
+ notice.z_opcode = RESPONSE_OPCODE;
+
msg[0] = "Automated reply:";
msg[1] = ptr;