summaryrefslogtreecommitdiff
path: root/server/client.c
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1991-03-21 07:24:28 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1991-03-21 07:24:28 +0000
commit8148b1bd5ace4b1ad8f1a49827f8573f0910273a (patch)
tree6d2698b7430465457d58964f0591f5e14df78e87 /server/client.c
parent65cfae49809d6d057c8c78a41e10f7800952c653 (diff)
Clear zct_block only if KERBEROS.
Diffstat (limited to 'server/client.c')
-rw-r--r--server/client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/client.c b/server/client.c
index 053f97f..5a36444 100644
--- a/server/client.c
+++ b/server/client.c
@@ -6,7 +6,7 @@
* $Source$
* $Author$
*
- * Copyright (c) 1987,1988 by the Massachusetts Institute of Technology.
+ * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
* "mit-copyright.h".
*/
@@ -15,7 +15,7 @@
#if !defined (lint) && !defined (SABER)
static const char rcsid_client_c[] =
- "$Header$";
+ "$Zephyr: /afs/athena.mit.edu/astaff/project/zephyr/src/server/RCS/client.C,v 1.19 90/11/13 17:05:00 raeburn Exp $";
#endif
/*
@@ -100,8 +100,10 @@ client_register(ZNotice_t *notice, struct sockaddr_in *who, register ZClient_t *
/* initialize the struct */
bzero((caddr_t) &(*client)->zct_sin,
sizeof(struct sockaddr_in));
+#ifdef KERBEROS
bzero((caddr_t) &(*client)->zct_cblock,
sizeof((*client)->zct_cblock));
+#endif
(*client)->zct_sin.sin_addr.s_addr = who->sin_addr.s_addr;
(*client)->zct_sin.sin_port = notice->z_port;
(*client)->zct_sin.sin_family = AF_INET;