* kinit.c (k4_begin): Cleanup assignment in conditional warning
authorEzra Peisach <epeisach@mit.edu>
Mon, 11 Jun 2001 14:51:34 +0000 (14:51 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 11 Jun 2001 14:51:34 +0000 (14:51 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13323 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/kinit/ChangeLog
src/clients/kinit/kinit.c

index b230f7d623b2499108efa10d7eb27d58104c6f72..a748542faec7090a9b0aa52d765cb0135e5ad543 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-11  Ezra Peisach  <epeisach@mit.edu>
+
+       * kinit.c (k4_begin): Cleanup assignment in conditional warning.
+
 2001-04-05  Danilo Almeida  <dalmeida@mit.edu>
 
        * kinit.c (k4_kinit): Use ANSI C-style string continuation.
index ea4794dea480e4c26c9e6ef3b903480edefc8aae..e9f07ce6202fadcd828e43277a8fdb977e62154e 100644 (file)
@@ -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));