diff options
author | 1987-07-05 22:09:03 +0000 | |
---|---|---|
committer | 1987-07-05 22:09:03 +0000 | |
commit | 6d052aeba968f16100de9e59add743abcfb06094 (patch) | |
tree | 368c868683b79102cca00e89abbe29987573e639 /lib/ZLocateU.c | |
parent | 63e063c0681783c90e604aa788dc4e9e52f0719b (diff) |
safety
Diffstat (limited to 'lib/ZLocateU.c')
-rw-r--r-- | lib/ZLocateU.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ZLocateU.c b/lib/ZLocateU.c index abe537e..5514358 100644 --- a/lib/ZLocateU.c +++ b/lib/ZLocateU.c @@ -22,7 +22,7 @@ Code_t ZLocateUser(user,nlocs) { int locate_pred(); - int i,retval,auth; + int i,retval; ZNotice_t notice,retnotice; ZPacket_t buffer; char *ptr,*end; @@ -41,10 +41,10 @@ Code_t ZLocateUser(user,nlocs) notice.z_recipient = ""; notice.z_message_len = 0; - if ((retval = ZSendNotice(¬ice,0)) != ZERR_NONE) + if ((retval = ZSendNotice(¬ice,ZNOAUTH)) != ZERR_NONE) return (retval); - if ((retval = ZIfNotice(buffer,sizeof buffer,&retnotice,&auth, + if ((retval = Z_NoAuthIfNotice(buffer,sizeof buffer,&retnotice, ZCompareUIDPred,(char *)¬ice.z_uid)) != ZERR_NONE) return (retval); |