summaryrefslogtreecommitdiff
path: root/lib/ZInit.c
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1991-03-21 06:42:53 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1991-03-21 06:42:53 +0000
commitaed0d257ab3fa6c9b758a42045352dde87dbc6c8 (patch)
tree3b7d3fa231652619098a35ce2608cf2a119bc72e /lib/ZInit.c
parent395d6610259cb7ef03afcd766f32b3d1ceb3de4e (diff)
Don't initialize __Zephyr_realm if Kerberos is not in use.
Diffstat (limited to 'lib/ZInit.c')
-rw-r--r--lib/ZInit.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ZInit.c b/lib/ZInit.c
index 0266fbe..7334594 100644
--- a/lib/ZInit.c
+++ b/lib/ZInit.c
@@ -6,15 +6,16 @@
* $Source$
* $Author$
*
- * Copyright (c) 1987 by the Massachusetts Institute of Technology.
+ * Copyright (c) 1987, 1991 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
* "mit-copyright.h".
*/
/* $Header$ */
#ifndef lint
-static char rcsid_ZInitialize_c[] = "$Header$";
-#endif lint
+static char rcsid_ZInitialize_c[] =
+ "$Zephyr: /afs/athena.mit.edu/astaff/project/zephyr/src/lib/RCS/ZInitialize.c,v 1.17 89/05/30 18:11:25 jtkohl Exp $";
+#endif
#include <zephyr/mit-copyright.h>
@@ -62,8 +63,6 @@ Code_t ZInitialize()
#ifdef KERBEROS
if ((krbval = krb_get_lrealm(__Zephyr_realm, 1)) != KSUCCESS)
return (krbval);
-#else
- (void) strcpy(__Zephyr_realm, KRB_REALM);
#endif
/* Get the sender so we can cache it */