summaryrefslogtreecommitdiff
path: root/lib/ZLocateU.c
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1987-07-05 22:09:03 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1987-07-05 22:09:03 +0000
commit6d052aeba968f16100de9e59add743abcfb06094 (patch)
tree368c868683b79102cca00e89abbe29987573e639 /lib/ZLocateU.c
parent63e063c0681783c90e604aa788dc4e9e52f0719b (diff)
safety
Diffstat (limited to 'lib/ZLocateU.c')
-rw-r--r--lib/ZLocateU.c6
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(&notice,0)) != ZERR_NONE)
+ if ((retval = ZSendNotice(&notice,ZNOAUTH)) != ZERR_NONE)
return (retval);
- if ((retval = ZIfNotice(buffer,sizeof buffer,&retnotice,&auth,
+ if ((retval = Z_NoAuthIfNotice(buffer,sizeof buffer,&retnotice,
ZCompareUIDPred,(char *)&notice.z_uid)) !=
ZERR_NONE)
return (retval);