(kadmin_cpw): Don't crash if principal name is not given. Based on a
authorKen Raeburn <raeburn@mit.edu>
Tue, 20 Jun 2006 23:27:01 +0000 (23:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 20 Jun 2006 23:27:01 +0000 (23:27 +0000)
commit95d68c2a356ea86513446d24cd46facbcc0c8fef
tree63d09957afb2b42fca54afd9a40d3b5b763d705c
parentbf4d9d8d7aebf1c10c9d2361157511c9d880bc2c
(kadmin_cpw): Don't crash if principal name is not given.  Based on a
patch from S Rahul.
(extended_com_err_fn): If error code is zero, don't fetch an error message.

ticket: 3308
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18179 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/cli/kadmin.c