summaryrefslogtreecommitdiff
path: root/lib/ZCkIfNot.c
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1987-06-23 12:08:18 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1987-06-23 12:08:18 +0000
commitb525e4aa51d7f5fd4eef84a27a542d8b1593cbe8 (patch)
treed4b0a3e937fd8a7b8ab2cfb7d6869e544ad439eb /lib/ZCkIfNot.c
parentcd73b10db92fd36835800ed839d010f5b69bdca6 (diff)
KRB format
Diffstat (limited to 'lib/ZCkIfNot.c')
-rw-r--r--lib/ZCkIfNot.c4
1 files changed, 3 insertions, 1 deletions
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;