From aa4871197d1699765f90726f6f7f73adffec638f Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 30 Apr 1998 16:06:05 +0000 Subject: From kretch: zero out the notice opcode so we don't use the same opcode as the received message. --- clients/zaway/zaway.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clients') 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; -- cgit v1.2.3