From 2ed3439c8194659ed5907c88f39daeb1e1c1b47a Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Sun, 28 Jan 1996 19:36:35 +0000 Subject: [PATCH] * dump.c (process_k5_record): t2..t9 is only 8 vars, not 9 make check is useful, gang... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7412 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/edit/ChangeLog | 4 ++++ src/admin/edit/dump.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/admin/edit/ChangeLog b/src/admin/edit/ChangeLog index b3b9ea131..7cafc2d86 100644 --- a/src/admin/edit/ChangeLog +++ b/src/admin/edit/ChangeLog @@ -1,3 +1,7 @@ +Sun Jan 28 14:31:47 1996 Mark Eichin + + * dump.c (process_k5_record): t2..t9 is only 8 vars, not 9. + Thu Jan 25 16:07:42 1996 Sam Hartman * kdb5_edit.c (extract_srvtab): Extract *all* the keys in a diff --git a/src/admin/edit/dump.c b/src/admin/edit/dump.c index 94752c5eb..39af613bd 100644 --- a/src/admin/edit/dump.c +++ b/src/admin/edit/dump.c @@ -1247,7 +1247,7 @@ process_k5_record(fname, kcontext, filep, verbose, linenop) /* Get the fixed principal attributes */ nread = fscanf(filep, "%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t", &t2, &t3, &t4, &t5, &t6, &t7, &t8, &t9); - if (nread == 9) { + if (nread == 8) { dbentry.attributes = (krb5_flags) t2; dbentry.max_life = (krb5_deltat) t3; dbentry.max_renewable_life = (krb5_deltat) t4; -- 2.26.2