(change_password): handle that printf("%.*s", 0, (void*)NULL); doesn't
work on solaris git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13326 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -438,7 +438,7 @@ change_password (krb5_context context,
|
||||
asprintf (&p, "%s: %.*s\n",
|
||||
result_code ? "Error" : "Success",
|
||||
(int)result_string.length,
|
||||
(char*)result_string.data);
|
||||
result_string.length > 0 ? (char*)result_string.data : "");
|
||||
|
||||
ret = (*prompter) (context, data, NULL, p, 0, NULL);
|
||||
free (p);
|
||||
|
Reference in New Issue
Block a user