(krb5_prompter_posix): add name

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9928 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-05-11 20:26:49 +00:00
parent 9e335555d6
commit 8097a8f760

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -38,12 +38,15 @@ RCSID("$Id$");
int
krb5_prompter_posix (krb5_context context,
void *data,
const char *name,
const char *banner,
int num_prompts,
krb5_prompt prompts[])
{
int i;
if (name)
fprintf (stderr, "%s\n", name);
if (banner)
fprintf (stderr, "%s\n", banner);
for (i = 0; i < num_prompts; ++i) {