summaryrefslogtreecommitdiff
path: root/server/dispatch.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-06-03 11:04:49 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-06-03 11:04:49 +0000
commita5b2c60c5ae532e67db5a0d472f5a824e0797195 (patch)
tree280e135ae88d42cba28d0e52a62f3b5a49dcb862 /server/dispatch.c
parent965b58cf0ada494d1a49319830a926948592a5e9 (diff)
only do auth if we have a hold on the client descriptor
Diffstat (limited to 'server/dispatch.c')
-rw-r--r--server/dispatch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index eb7806a..db925bd 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -351,7 +351,10 @@ ZClient_t *client;
packlen = sizeof(ZPacket_t);
- if (auth) { /* we are distributing authentic */
+ if (auth && client) { /*
+ we are distributing authentic and
+ we have a pointer to auth info
+ */
if ((retval = ZFormatAuthenticNotice(notice,
noticepack,
packlen,