From 4fa73fb015a8cc6631694537cdd02b05346b5a55 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 11 Jun 2001 14:51:34 +0000 Subject: [PATCH] * kinit.c (k4_begin): Cleanup assignment in conditional warning git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13323 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/ChangeLog | 4 ++++ src/clients/kinit/kinit.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog index b230f7d62..a748542fa 100644 --- a/src/clients/kinit/ChangeLog +++ b/src/clients/kinit/ChangeLog @@ -1,3 +1,7 @@ +2001-06-11 Ezra Peisach + + * kinit.c (k4_begin): Cleanup assignment in conditional warning. + 2001-04-05 Danilo Almeida * kinit.c (k4_kinit): Use ANSI C-style string continuation. diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index ea4794dea..e9f07ce62 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -645,8 +645,9 @@ k4_begin(opts, k4) fprintf(stderr, "Unable to identify user\n"); return 0; } - if (k_errno = kname_parse(k4->aname, k4->inst, k4->realm, - name)) + k_errno = kname_parse(k4->aname, k4->inst, k4->realm, + name); + if (k_errno) { fprintf(stderr, "%s: %s\n", progname, krb_get_err_text(k_errno)); -- 2.26.2