summaryrefslogtreecommitdiff
path: root/lib/ZIfNotice.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/ZIfNotice.c
parentcd73b10db92fd36835800ed839d010f5b69bdca6 (diff)
KRB format
Diffstat (limited to 'lib/ZIfNotice.c')
-rw-r--r--lib/ZIfNotice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ZIfNotice.c b/lib/ZIfNotice.c
index 8482ef5..44815cf 100644
--- a/lib/ZIfNotice.c
+++ b/lib/ZIfNotice.c
@@ -41,7 +41,8 @@ Code_t ZIfNotice(buffer,buffer_len,notice,auth,predicate,args)
for (;;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)
@@ -51,6 +52,7 @@ Code_t ZIfNotice(buffer,buffer_len,notice,auth,predicate,args)
notice,auth))
!= ZERR_NONE)
return (retval);
+ *auth = tmpauth;
return (Z_RemQueue(qptr));
}
/* Grunch! */