+2001-06-21 Ezra Peisach <epeisach@mit.edu>
+
+ * kadm_supp.c (prin_vals): Pass time_t * to localtime instead of
+ long *.
+
2001-06-18 Ezra Peisach <epeisach@mit.edu>
* kadm_funcs.c: Cast argument to isalnum()/isdigit() to int.
void prin_vals(vals)
Kadm_vals *vals;
{
+ time_t t = vals->exp_date;
printf("Info in Database for %s.%s:\n", vals->name, vals->instance);
printf(" Max Life: %d Exp Date: %s\n",vals->max_life,
- asctime(localtime((long *)&vals->exp_date)));
+ asctime(localtime(&t)));
printf(" Attribs: %.2x key: %ld %ld\n",vals->attributes,
vals->key_low, vals->key_high);
}