(krb5_prompter_posix): if some thing is printed on stderr, fflush it

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13707 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-04-13 12:35:09 +00:00
parent af12e77109
commit 58a0415a27

View File

@@ -49,6 +49,8 @@ krb5_prompter_posix (krb5_context context,
fprintf (stderr, "%s\n", name);
if (banner)
fprintf (stderr, "%s\n", banner);
if (name || banner)
fflush(stderr);
for (i = 0; i < num_prompts; ++i) {
if (prompts[i].hidden) {
if(UI_UTIL_read_pw_string(prompts[i].reply->data,