summaryrefslogtreecommitdiff
path: root/lib/Zinternal.c
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1994-12-19 02:55:50 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1994-12-19 02:55:50 +0000
commit7f95474cee55c5a1155b342d81c65ce6cd03eb98 (patch)
treefecdea44869289dc85ea379748c6e9b7341f1674 /lib/Zinternal.c
parent2b9e6070fc3e08f43d2e328e004d4b5fdf6b2847 (diff)
Moved some of the new authentication code into a place where it won't
cause the zephyr servers to spew errors. ./
Diffstat (limited to 'lib/Zinternal.c')
-rw-r--r--lib/Zinternal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Zinternal.c b/lib/Zinternal.c
index 09a1b6d..7cd24cc 100644
--- a/lib/Zinternal.c
+++ b/lib/Zinternal.c
@@ -322,10 +322,11 @@ Code_t Z_ReadWait()
}
if (find_or_insert_uid(&notice.z_uid, notice.z_kind))
return(ZERR_NONE);
+
+ /* Check authentication on the notice. */
+ notice.z_checked_auth = ZCheckAuthentication(&notice, &from);
}
- /* Check authentication on the notice. */
- notice.z_checked_auth = ZCheckAuthentication(&notice, &from);
/*
* Parse apart the z_multinotice field - if the field is blank for