From cb34056dd0a4fa715fdb6b3fb92a075af4d26c16 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 2 Apr 2000 21:43:18 +0000 Subject: [PATCH] fix typo git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8092 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/test/nt_gss_server.c | 4 ++-- lib/krb5/init_creds_pw.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/appl/test/nt_gss_server.c b/appl/test/nt_gss_server.c index 1ecfc3595..dda31570e 100644 --- a/appl/test/nt_gss_server.c +++ b/appl/test/nt_gss_server.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997 - 1999 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -42,7 +42,7 @@ RCSID("$Id$"); * This program tries to act as a server for the sample in `Sample * SSPI Code' in Windows 2000 RC1 SDK. * - * use --dump-add to get a binary dump of the authorization data in the ticket + * use --dump-auth to get a binary dump of the authorization data in the ticket */ static int help_flag; diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index 98c856e40..6accf1137 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -178,9 +178,9 @@ print_expire (krb5_context context, if (lr->val[i].lr_type == 6 && lr->val[i].lr_value <= t) { char *p; - time_t = lr->val[i].lr_value; + time_t tmp = lr->val[i].lr_value; - asprintf (&p, "Your password will expire at %s", ctime(&t)); + asprintf (&p, "Your password will expire at %s", ctime(&tmp)); (*prompter) (context, data, p, 0, NULL); free (p); return;