summaryrefslogtreecommitdiffstats
path: root/eBones/libkadm/kadm_supp.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /eBones/libkadm/kadm_supp.c
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'eBones/libkadm/kadm_supp.c')
-rw-r--r--eBones/libkadm/kadm_supp.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/eBones/libkadm/kadm_supp.c b/eBones/libkadm/kadm_supp.c
index df97f17..8b18621 100644
--- a/eBones/libkadm/kadm_supp.c
+++ b/eBones/libkadm/kadm_supp.c
@@ -13,7 +13,7 @@ static char rcsid_kadm_supp_c[] =
"Header: /afs/athena.mit.edu/astaff/project/kerberos/src/lib/kadm/RCS/kadm_supp.c,v 4.1 89/09/26 09:21:07 jtkohl Exp ";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: kadm_supp.c,v 1.1 1995/01/20 02:02:54 wollman Exp $";
#endif lint
/*
@@ -28,7 +28,7 @@ static const char rcsid[] =
#include "kadm.h"
#include "krb_db.h"
-
+
/*
prin_vals:
recieves : a vals structure
@@ -37,7 +37,7 @@ prin_vals(vals)
Kadm_vals *vals;
{
printf("Info in Database for %s.%s:\n", vals->name, vals->instance);
- printf(" Max Life: %d Exp Date: %s\n",vals->max_life,
+ printf(" Max Life: %d Exp Date: %s\n",vals->max_life,
asctime(localtime((long *)&vals->exp_date)));
printf(" Attribs: %.2x key: %u %u\n",vals->attributes,
vals->key_low, vals->key_high);
@@ -54,7 +54,7 @@ int s;
#endif
/* kadm_prin_to_vals takes a fields arguments, a Kadm_vals and a Principal,
- it copies the fields in Principal specified by fields into Kadm_vals,
+ it copies the fields in Principal specified by fields into Kadm_vals,
i.e from old to new */
kadm_prin_to_vals(fields, new, old)
@@ -64,28 +64,28 @@ Principal *old;
{
bzero((char *)new, sizeof(*new));
if (IS_FIELD(KADM_NAME,fields)) {
- (void) strncpy(new->name, old->name, ANAME_SZ);
+ (void) strncpy(new->name, old->name, ANAME_SZ);
SET_FIELD(KADM_NAME, new->fields);
}
if (IS_FIELD(KADM_INST,fields)) {
- (void) strncpy(new->instance, old->instance, INST_SZ);
+ (void) strncpy(new->instance, old->instance, INST_SZ);
SET_FIELD(KADM_INST, new->fields);
- }
+ }
if (IS_FIELD(KADM_EXPDATE,fields)) {
- new->exp_date = old->exp_date;
+ new->exp_date = old->exp_date;
SET_FIELD(KADM_EXPDATE, new->fields);
- }
+ }
if (IS_FIELD(KADM_ATTR,fields)) {
- new->attributes = old->attributes;
+ new->attributes = old->attributes;
SET_FIELD(KADM_MAXLIFE, new->fields);
- }
+ }
if (IS_FIELD(KADM_MAXLIFE,fields)) {
- new->max_life = old->max_life;
+ new->max_life = old->max_life;
SET_FIELD(KADM_MAXLIFE, new->fields);
- }
+ }
if (IS_FIELD(KADM_DESKEY,fields)) {
- new->key_low = old->key_low;
- new->key_high = old->key_high;
+ new->key_low = old->key_low;
+ new->key_high = old->key_high;
SET_FIELD(KADM_DESKEY, new->fields);
}
}
@@ -98,17 +98,17 @@ Kadm_vals *old;
bzero((char *)new, sizeof(*new));
if (IS_FIELD(KADM_NAME,fields))
- (void) strncpy(new->name, old->name, ANAME_SZ);
+ (void) strncpy(new->name, old->name, ANAME_SZ);
if (IS_FIELD(KADM_INST,fields))
- (void) strncpy(new->instance, old->instance, INST_SZ);
+ (void) strncpy(new->instance, old->instance, INST_SZ);
if (IS_FIELD(KADM_EXPDATE,fields))
- new->exp_date = old->exp_date;
+ new->exp_date = old->exp_date;
if (IS_FIELD(KADM_ATTR,fields))
- new->attributes = old->attributes;
+ new->attributes = old->attributes;
if (IS_FIELD(KADM_MAXLIFE,fields))
- new->max_life = old->max_life;
+ new->max_life = old->max_life;
if (IS_FIELD(KADM_DESKEY,fields)) {
- new->key_low = old->key_low;
- new->key_high = old->key_high;
+ new->key_low = old->key_low;
+ new->key_high = old->key_high;
}
}
OpenPOWER on IntegriCloud