From b525e4aa51d7f5fd4eef84a27a542d8b1593cbe8 Mon Sep 17 00:00:00 2001 From: "Robert S. French" Date: Tue, 23 Jun 1987 12:08:18 +0000 Subject: KRB format --- lib/ZCkIfNot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/ZCkIfNot.c') diff --git a/lib/ZCkIfNot.c b/lib/ZCkIfNot.c index 751f378..22119df 100644 --- a/lib/ZCkIfNot.c +++ b/lib/ZCkIfNot.c @@ -36,7 +36,8 @@ Code_t ZCheckIfNotice(buffer,buffer_len,notice,auth,predicate,args) for (;qcount;qcount--) { if ((retval = ZParseNotice(qptr->packet,qptr->packet_len, - &tmpnotice,&tmpauth)) != ZERR_NONE) + &tmpnotice,&tmpauth,&qptr->from)) + != ZERR_NONE) return (retval); if ((predicate)(&tmpnotice,args)) { if (qptr->packet_len > buffer_len) @@ -46,6 +47,7 @@ Code_t ZCheckIfNotice(buffer,buffer_len,notice,auth,predicate,args) notice,auth)) != ZERR_NONE) return (retval); + *auth = tmpauth; return (Z_RemQueue(qptr)); } qptr = qptr->next; -- cgit v1.2.3